Model/DocumentInterface.php
author cavaliet
Wed, 26 Oct 2011 15:38:05 +0200
changeset 14 673b2766024e
parent 3 976d922e52f0
child 20 985f1992895d
permissions -rwxr-xr-x
Update ORM configuration to allow JOIN between Tag and DocumentTag. TagList template has now the number of documents by tag.

<?php

/*
 * This file is part of the WikiTagBundle package.
 *
 * (c) IRI <http://www.iri.centrepompidou.fr/>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace IRI\Bundle\WikiTagBundle\Model;

use Doctrine\Common\Collections\ArrayCollection;

interface DocumentInterface {
    
    /**
    * Get id
    *
    * @return integer
    */
    function getId();
    
    /**
     * Set title
     *
     * @param string $title
     */
    function setTitle($title);
    
    /**
     * Get title
     *
     * @return string
     */
    function getTitle();
    
    /**
     * Set description
     *
     * @param text $description
     */
    function setDescription($description);
    
    /**
     * Get description
     *
     * @return text
     */
    function getDescription();
    
    
    
}