setCharList example

public function __construct($options = null)
    {
        if ($options instanceof Zend_Config) {
            $options = $options->toArray();
        } else if (!is_array($options)) {
            $options          = func_get_args();
            $temp['charlist'] = array_shift($options);
            $options          = $temp;
        }

        if (array_key_exists('charlist', $options)) {
            $this->setCharList($options['charlist']);
        }
    }

    /** * Returns the charList option * * @return string|null */
    public function getCharList()
    {
        return $this->_charList;
    }
Home | Imprint | This part of the site doesn't use cookies.