Prado\Web\UI\WebControls\TPanelStyle::reset PHP Method

reset() public method

This method overrides the parent implementation by resetting additional TPanelStyle specific attributes.
public reset ( )
    public function reset()
    {
        parent::reset();
        $this->_backImageUrl = null;
        $this->_direction = null;
        $this->_horizontalAlign = null;
        $this->_scrollBars = null;
        $this->_wrap = null;
    }

Usage Example

Example #1
0
 /**
  * Resets the style to the original empty state.
  */
 public function reset()
 {
     parent::reset();
     $this->_visible = null;
     $this->_position = null;
     $this->_buttonCount = null;
     $this->_prevText = null;
     $this->_nextText = null;
     $this->_mode = null;
     $this->_buttonType = null;
 }