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

reset() public method

Resets the style to the original empty state.
public reset ( )
    public function reset()
    {
        $this->_fields = array();
        $this->_font = null;
        $this->_class = null;
        $this->_customStyle = null;
    }

Usage Example

Example #1
0
 /**
  * Sets the style attributes to default values.
  * This method overrides the parent implementation by
  * resetting additional TTableItemStyle specific attributes.
  */
 public function reset()
 {
     parent::reset();
     $this->_verticalAlign = null;
     $this->_horizontalAlign = null;
     $this->_wrap = null;
 }
All Usage Examples Of Prado\Web\UI\WebControls\TStyle::reset