Model/Document.php
changeset 2 13f43f53d0ba
child 3 976d922e52f0
equal deleted inserted replaced
1:06a22ff5d58d 2:13f43f53d0ba
       
     1 <?php
       
     2 /*
       
     3  * This file is part of the WikiTagBundle package.
       
     4  *
       
     5  * (c) IRI <http://www.iri.centrepompidou.fr/>
       
     6  *
       
     7  * For the full copyright and license information, please view the LICENSE
       
     8  * file that was distributed with this source code.
       
     9  */
       
    10 
       
    11 namespace IRI\Bundle\WikiTagBundle\Model;
       
    12 
       
    13 abstract class Document implements DocumentInterface {
       
    14     
       
    15     /**
       
    16     * @var integer $id
       
    17     */
       
    18     protected $id;
       
    19     
       
    20     /**
       
    21      * @var string $title
       
    22      */
       
    23     protected $title;
       
    24     
       
    25     /**
       
    26      * @var text $description
       
    27      */
       
    28     protected $description;
       
    29     
       
    30     /**
       
    31      * @var boolean $manualOrder
       
    32      */
       
    33     protected $manualOrder;
       
    34     
       
    35     
       
    36     /**
       
    37      * Get id
       
    38      *
       
    39      * @return integer
       
    40      */
       
    41     public function getId()
       
    42     {
       
    43         return $this->id;
       
    44     }
       
    45     
       
    46     /**
       
    47      * Set title
       
    48      *
       
    49      * @param string $title
       
    50      */
       
    51     public function setTitle($title)
       
    52     {
       
    53         $this->title = $title;
       
    54     }
       
    55     
       
    56     /**
       
    57      * Get title
       
    58      *
       
    59      * @return string
       
    60      */
       
    61     public function getTitle()
       
    62     {
       
    63         return $this->title;
       
    64     }
       
    65     
       
    66     /**
       
    67      * Set description
       
    68      *
       
    69      * @param text $description
       
    70      */
       
    71     public function setDescription($description)
       
    72     {
       
    73         $this->description = $description;
       
    74     }
       
    75     
       
    76     /**
       
    77      * Get description
       
    78      *
       
    79      * @return text
       
    80      */
       
    81     public function getDescription()
       
    82     {
       
    83         return $this->description;
       
    84     }
       
    85     
       
    86     /**
       
    87     * Set manualOrder
       
    88     *
       
    89     * @param boolean $manualOrder
       
    90     */
       
    91     function setManualOrder($manualOrder)
       
    92     {
       
    93         $this->manualOrder = $manualOrder;
       
    94     }
       
    95     
       
    96     /**
       
    97      * Get manualOrder
       
    98      *
       
    99      * @return boolean
       
   100      */
       
   101     function getManualOrder()
       
   102     {
       
   103         return $this->manualOrder;
       
   104     }
       
   105     
       
   106     
       
   107 }