diff -r 13f43f53d0ba -r 976d922e52f0 Model/Document.php --- a/Model/Document.php Sun Oct 16 14:50:48 2011 +0200 +++ b/Model/Document.php Mon Oct 17 13:51:50 2011 +0200 @@ -10,7 +10,7 @@ namespace IRI\Bundle\WikiTagBundle\Model; -abstract class Document implements DocumentInterface { +abstract class Document implements BaseDocumentInterface { /** * @var integer $id @@ -30,7 +30,12 @@ /** * @var boolean $manualOrder */ - protected $manualOrder; + protected $manualOrder = false; + + /** + * @var string $externalId + */ + protected $externalId; /** @@ -103,5 +108,22 @@ return $this->manualOrder; } + /** + * TODO: (non-PHPdoc) + * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::setExternalId() + */ + function setExternalId($externalId) + { + $this->externalId = $externalId; + } + + /** + * TODO: (non-PHPdoc) + * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getExternalId() + */ + function getExternalId() + { + return $this->externalId; + } }