Model/Tag.php
changeset 83 e9f04298bdfa
parent 62 10be6b9e55e7
equal deleted inserted replaced
81:145296a918f8 83:e9f04298bdfa
   113      * @return integer
   113      * @return integer
   114      */
   114      */
   115     public function getId()
   115     public function getId()
   116     {
   116     {
   117         return $this->id;
   117         return $this->id;
       
   118     }
       
   119     
       
   120     /**
       
   121      * Set id
       
   122      *
       
   123      * @param integer $id
       
   124      */
       
   125     function setId($id)
       
   126     {
       
   127         $this->id = $id;
   118     }
   128     }
   119 
   129 
   120     /**
   130     /**
   121      * Set label
   131      * Set label
   122      *
   132      *
   416      * @see IRI\Bundle\WikiTagBundle\Model.TagInterface::getCreatedAt()
   426      * @see IRI\Bundle\WikiTagBundle\Model.TagInterface::getCreatedAt()
   417      */
   427      */
   418     function getCreatedAt()
   428     function getCreatedAt()
   419     {
   429     {
   420         return $this->createdAt;
   430         return $this->createdAt;
       
   431     }
       
   432 
       
   433     /**
       
   434     * Set date of creation
       
   435     *
       
   436     * @param DateTime $date
       
   437     */
       
   438     public function setCreatedAt($date)
       
   439     {
       
   440         $this->createdAt = $date;
   421     }
   441     }
   422 
   442 
   423     /**
   443     /**
   424      * Get Documents
   444      * Get Documents
   425      *
   445      *