| author | ymh <ymh.work@gmail.com> |
| Thu, 27 Oct 2011 21:37:34 +0200 | |
| changeset 20 | 985f1992895d |
| parent 17 | 81962874e172 |
| parent 14 | 673b2766024e |
| child 23 | b435f8055cb4 |
| 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 |
||
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
25 |
|
| 2 | 26 |
/** |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
27 |
* TODO: Enter description here ... |
| 2 | 28 |
* |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
29 |
* @param text $externalId |
| 2 | 30 |
*/ |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
31 |
function setExternalId($externalId); |
| 2 | 32 |
|
33 |
/** |
|
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
34 |
* TODO: Enter description here ... |
| 2 | 35 |
*/ |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
36 |
function getExternalId(); |
|
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
37 |
|
| 2 | 38 |
|
39 |
/** |
|
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
40 |
* Set manualOrder |
| 2 | 41 |
* |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
42 |
* @param boolean $manualOrder |
| 2 | 43 |
*/ |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
44 |
function setManualOrder($manualOrder); |
| 2 | 45 |
|
46 |
/** |
|
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
47 |
* Get manualOrder |
| 2 | 48 |
* |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
49 |
* @return boolean |
| 2 | 50 |
*/ |
|
17
81962874e172
First implementation of dynamic fields
ymh <ymh.work@gmail.com>
parents:
3
diff
changeset
|
51 |
function getManualOrder(); |
| 2 | 52 |
|
53 |
||
54 |
||
55 |
} |