All pastes #352293 Raw Edit

CS

public php v1 · immutable
·published 2007-02-12 18:59 UTC
rendered paste body
<?php/** * Name class *  * THis class is used to name files. It will be * used mainly to access names and then it's going * to be rendering them quite nicely wth all formated * html and all. THis is an example of a long * description. *  * @package  Frontend * @category Renderer * @author   David Coallier <davidc@php.net> * @uses     NameRenderer * @link     http://php.net * @todo     Implement new features. */class Name extends NameRenderer{    /**     * Properties     *      * This is the variable holding all the properties     * that are predefined for an object bla bla     * this is also a long desc.     *     * @access    public     * @staticvar array $properties     */    public static $properties = array();        /**     * Set the properties     *      * This function is invoked in order to set     * the properties of the object. This is also     * the long description.     * Ex:     * <code>     * <?php      *     $properties = array('lookandfeel' => 'metal');     *     $object = Name::SetProperties($properties);     * ?>     * </code>     *     *      * @access public     * @param  array $properties The array of properties     * @see    Name::$properties     */    public static function SetProperties(Array $properties)     {        Name::$properties = $properties;    }        /**     * Get the properties     *      * This function is used to get the properties     * of the elements. Long description.     *     * @access private     * @return array self::$properties     */    private function GetProperties()    {        return self::$properties;    }}