Model/Document.php
changeset 3 976d922e52f0
parent 2 13f43f53d0ba
child 14 673b2766024e
child 17 81962874e172
equal deleted inserted replaced
2:13f43f53d0ba 3:976d922e52f0
     8  * file that was distributed with this source code.
     8  * file that was distributed with this source code.
     9  */
     9  */
    10 
    10 
    11 namespace IRI\Bundle\WikiTagBundle\Model;
    11 namespace IRI\Bundle\WikiTagBundle\Model;
    12 
    12 
    13 abstract class Document implements DocumentInterface {
    13 abstract class Document implements BaseDocumentInterface {
    14     
    14     
    15     /**
    15     /**
    16     * @var integer $id
    16     * @var integer $id
    17     */
    17     */
    18     protected $id;
    18     protected $id;
    28     protected $description;
    28     protected $description;
    29     
    29     
    30     /**
    30     /**
    31      * @var boolean $manualOrder
    31      * @var boolean $manualOrder
    32      */
    32      */
    33     protected $manualOrder;
    33     protected $manualOrder = false;
       
    34     
       
    35     /**
       
    36      * @var string $externalId
       
    37      */
       
    38     protected $externalId;
    34     
    39     
    35     
    40     
    36     /**
    41     /**
    37      * Get id
    42      * Get id
    38      *
    43      *
   101     function getManualOrder()
   106     function getManualOrder()
   102     {
   107     {
   103         return $this->manualOrder;
   108         return $this->manualOrder;
   104     }
   109     }
   105     
   110     
       
   111     /**
       
   112      * TODO: (non-PHPdoc)
       
   113      * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::setExternalId()
       
   114      */
       
   115     function setExternalId($externalId)
       
   116     {
       
   117         $this->externalId = $externalId;
       
   118     }
       
   119     
       
   120     /**
       
   121      * TODO: (non-PHPdoc)
       
   122      * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getExternalId()
       
   123      */
       
   124     function getExternalId()
       
   125     {
       
   126         return $this->externalId;
       
   127     }
   106     
   128     
   107 }
   129 }