Horde_Template::_parseAssociativeTags PHP Method

_parseAssociativeTags() protected method

Parse associative tags (i.e. ).
protected _parseAssociativeTags ( )
    protected function _parseAssociativeTags()
    {
        $replace = array();
        foreach ($this->_pregcache['tag'] as $key => $val) {
            $parts = explode('.', $val[1]);
            $var = '$this->_arrays[\'' . $parts[0] . '\'][\'' . $parts[1] . '\']';
            $replace[$val[0]] = '<?php if (isset(' . $var . ')) { echo ' . $var . '; } ?>';
            unset($this->_pregcache['tag'][$key]);
        }
        $this->_doReplace($replace);
    }