Horde_Template::get PHP Method

get() public method

Returns the value of a tag or loop.
public get ( string $tag ) : mixed
$tag string The tag name.
return 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;
    }