/** * 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']; } }
/** * Resets renderer state * * @access protected * * * Descendents of Text_Highlighter call this method from the constructor, * passing $options they get as parameter. */ function reset() { parent::reset(); if (isset($this->_options['numbers'])) { $this->_numbers = $this->_options['numbers']; } if (isset($this->_options['tags'])) { $this->_hilite_tags = array_merge($this->_tags, $this->_options['tags']); } }
/** * Resets renderer state * * @access protected * * * Descendents of Text_Highlighter call this method from the constructor, * passing $options they get as parameter. */ function reset() { parent::reset(); if (isset($this->_options['numbers'])) { $this->_numbers = $this->_options['numbers']; } if (isset($this->_options['bb_tags'])) { $this->_bb_tags = array_merge($this->_bb_tags, $this->_options['bb_tags']); } if (isset($this->_options['tag_brackets'])) { $this->_tag_brackets = array_merge($this->_tag_brackets, $this->_options['tag_brackets']); } if (isset($this->_options['colors'])) { $this->_colors = array_merge($this->_colors, $this->_options['colors']); } }