reset() public method

Descendents of Text_Highlighter call this method from the constructor, passing $options they get as parameter.
public reset ( )
Ejemplo n.º 1
0
Archivo: XML.php Proyecto: romeo14/pow
 /**
  * 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'];
     }
 }
Ejemplo n.º 2
0
 /**
  * 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']);
     }
 }
Ejemplo n.º 3
0
 /**
  * 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']);
     }
 }