public reset ( ) |
function reset()
{
$this->_output = array();
$this->_lastClass = 'default';
if (isset($this->_options['tabsize'])) {
$this->_tabsize = $this->_options['tabsize'];
}
if (isset($this->_options['htmlspecialchars'])) {
$this->_htmlspecialchars = $this->_options['htmlspecialchars'];
}
if (isset($this->_options['enumerated'])) {
$this->_enumerated = $this->_options['enumerated'];
}
}
/** * Resets renderer state * * Descendents of Text_Highlighter call this method from the constructor, * passing $options they get as parameter. * * @access protected */ function reset() { parent::reset(); if (isset($this->_options['xml_serializer'])) { $this->_serializer_options = $this->_options['xml_serializer']; } }