Model/Document.php
changeset 17 81962874e172
parent 3 976d922e52f0
child 20 985f1992895d
equal deleted inserted replaced
13:c288952a089f 17:81962874e172
     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 BaseDocumentInterface {
    13 abstract class Document implements DocumentInterface {
    14     
    14     
    15     /**
    15     /**
    16     * @var integer $id
    16     * @var integer $id
    17     */
    17     */
    18     protected $id;
    18     protected $id;
    19     
    19     
    20     /**
       
    21      * @var string $title
       
    22      */
       
    23     protected $title;
       
    24     
       
    25     /**
       
    26      * @var text $description
       
    27      */
       
    28     protected $description;
       
    29     
    20     
    30     /**
    21     /**
    31      * @var boolean $manualOrder
    22      * @var boolean $manualOrder
    32      */
    23      */
    33     protected $manualOrder = false;
    24     protected $manualOrder = false;
    46     public function getId()
    37     public function getId()
    47     {
    38     {
    48         return $this->id;
    39         return $this->id;
    49     }
    40     }
    50     
    41     
    51     /**
       
    52      * Set title
       
    53      *
       
    54      * @param string $title
       
    55      */
       
    56     public function setTitle($title)
       
    57     {
       
    58         $this->title = $title;
       
    59     }
       
    60     
       
    61     /**
       
    62      * Get title
       
    63      *
       
    64      * @return string
       
    65      */
       
    66     public function getTitle()
       
    67     {
       
    68         return $this->title;
       
    69     }
       
    70     
       
    71     /**
       
    72      * Set description
       
    73      *
       
    74      * @param text $description
       
    75      */
       
    76     public function setDescription($description)
       
    77     {
       
    78         $this->description = $description;
       
    79     }
       
    80     
       
    81     /**
       
    82      * Get description
       
    83      *
       
    84      * @return text
       
    85      */
       
    86     public function getDescription()
       
    87     {
       
    88         return $this->description;
       
    89     }
       
    90     
    42     
    91     /**
    43     /**
    92     * Set manualOrder
    44     * Set manualOrder
    93     *
    45     *
    94     * @param boolean $manualOrder
    46     * @param boolean $manualOrder