| author | cavaliet |
| Wed, 26 Oct 2011 15:38:05 +0200 | |
| changeset 14 | 673b2766024e |
| parent 3 | 976d922e52f0 |
| child 20 | 985f1992895d |
| permissions | -rwxr-xr-x |
| 2 | 1 |
<?php |
2 |
||
3 |
/* |
|
4 |
* This file is part of the WikiTagBundle package. |
|
5 |
* |
|
6 |
* (c) IRI <http://www.iri.centrepompidou.fr/> |
|
7 |
* |
|
8 |
* For the full copyright and license information, please view the LICENSE |
|
9 |
* file that was distributed with this source code. |
|
10 |
*/ |
|
11 |
||
12 |
namespace IRI\Bundle\WikiTagBundle\Model; |
|
13 |
||
|
14
673b2766024e
Update ORM configuration to allow JOIN between Tag and DocumentTag. TagList template has now the number of documents by tag.
cavaliet
parents:
3
diff
changeset
|
14 |
use Doctrine\Common\Collections\ArrayCollection; |
|
673b2766024e
Update ORM configuration to allow JOIN between Tag and DocumentTag. TagList template has now the number of documents by tag.
cavaliet
parents:
3
diff
changeset
|
15 |
|
| 2 | 16 |
interface DocumentInterface { |
17 |
||
18 |
/** |
|
19 |
* Get id |
|
20 |
* |
|
21 |
* @return integer |
|
22 |
*/ |
|
23 |
function getId(); |
|
24 |
||
25 |
/** |
|
26 |
* Set title |
|
27 |
* |
|
28 |
* @param string $title |
|
29 |
*/ |
|
30 |
function setTitle($title); |
|
31 |
||
32 |
/** |
|
33 |
* Get title |
|
34 |
* |
|
35 |
* @return string |
|
36 |
*/ |
|
37 |
function getTitle(); |
|
38 |
||
39 |
/** |
|
40 |
* Set description |
|
41 |
* |
|
42 |
* @param text $description |
|
43 |
*/ |
|
44 |
function setDescription($description); |
|
45 |
||
46 |
/** |
|
47 |
* Get description |
|
48 |
* |
|
49 |
* @return text |
|
50 |
*/ |
|
51 |
function getDescription(); |
|
52 |
||
53 |
||
54 |
||
55 |
} |