web/Zend/Tag/Taggable.php
changeset 0 4eba9c11703f
equal deleted inserted replaced
-1:000000000000 0:4eba9c11703f
       
     1 <?php
       
     2 /**
       
     3  * Zend Framework
       
     4  *
       
     5  * LICENSE
       
     6  *
       
     7  * This source file is subject to the new BSD license that is bundled
       
     8  * with this package in the file LICENSE.txt.
       
     9  * It is also available through the world-wide-web at this URL:
       
    10  * http://framework.zend.com/license/new-bsd
       
    11  * If you did not receive a copy of the license and are unable to
       
    12  * obtain it through the world-wide-web, please send an email
       
    13  * to license@zend.com so we can send you a copy immediately.
       
    14  *
       
    15  * @category   Zend
       
    16  * @package    Zend_Tag
       
    17  * @subpackage Item
       
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    20  * @version    $Id: Taggable.php 20096 2010-01-06 02:05:09Z bkarwin $
       
    21  */
       
    22 
       
    23 /**
       
    24  * @category   Zend
       
    25  * @package    Zend_Tag
       
    26  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    27  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    28  */
       
    29 interface Zend_Tag_Taggable
       
    30 {
       
    31     /**
       
    32      * Get the title of the tag
       
    33      *
       
    34      * @return string
       
    35      */
       
    36     public function getTitle();
       
    37 
       
    38     /**
       
    39      * Get the weight of the tag
       
    40      *
       
    41      * @return float
       
    42      */
       
    43     public function getWeight();
       
    44 
       
    45     /**
       
    46      * Set a parameter
       
    47      *
       
    48      * @param string $name
       
    49      * @param string $value
       
    50      */
       
    51     public function setParam($name, $value);
       
    52 
       
    53     /**
       
    54      * Get a parameter
       
    55      *
       
    56      * @param  string $name
       
    57      * @return mixed
       
    58      */
       
    59     public function getParam($name);
       
    60 }