Horde_Template::get PHP Méthode

get() public méthode

Returns the value of a tag or loop.
public get ( string $tag ) : mixed
$tag string The tag name.
Résultat mixed The tag value or null if the tag hasn't been set yet.
    public function get($tag)
    {
        if (isset($this->_arrays[$tag])) {
            return $this->_arrays[$tag];
        }
        if (isset($this->_scalars[$tag])) {
            return $this->_scalars[$tag];
        }
        return null;
    }