Class ResetButton

ResetButton

public class ResetButton

A class to be used in class ControlGroup it will create a reset button.


Constructor Summary
ResetButton(var $name, var $value, var $extra)
          Constructor of the class ResetButton.
 
Method Summary
 string GetCellAttributes()
          Method to get the cell attributes.
 string GetClass()
          Method to get the Class.
 integer GetColSpan()
          Method to get the colspan.
 string GetCSS()
          Method to get the CSS.
 string GetName()
          Method to get the name of the reset button.
 string GetString()
          Method to get the html code of the class.
 bool IsHidden()
          Method to check if the object is a hidden element.
 bool IsNewLine()
          Method to check if the object should be placed to a new line.
 bool IsObjectAnArray()
          Method to check if the object is an array of objects.
 void SetCellAttributes(var $cellAttr)
          Method to set the cell attributes for CSS.
 void SetClass(var $class)
          Method to set the class.
 void SetColSpan(var $colspan)
          Method to set the colspan.
 void SetCSS(var $css)
          Method to set the CSS.
 void SetName(var $name)
          Method to set the name of the reset button.
 void SetNewLine(var $value)
          Method to set to put the object to a new line.
 

Constructor Detail

ResetButton

public ResetButton(var $name,
                   var $value,
                   var $extra)
Constructor of the class ResetButton.
Parameters:
$name - Default Value: "Reset"
$value - Default Value: "Reset"
$extra - Default Value: ""
Method Detail

SetName

public void SetName(var $name)
Method to set the name of the reset button.

GetName

public string GetName()
Method to get the name of the reset button.

SetCellAttributes

public void SetCellAttributes(var $cellAttr)
Method to set the cell attributes for CSS.

GetCellAttributes

public string GetCellAttributes()
Method to get the cell attributes.

SetCSS

public void SetCSS(var $css)
Method to set the CSS.

GetCSS

public string GetCSS()
Method to get the CSS.

SetClass

public void SetClass(var $class)
Method to set the class.

GetClass

public string GetClass()
Method to get the Class.

SetColSpan

public void SetColSpan(var $colspan)
Method to set the colspan.

GetColSpan

public integer GetColSpan()
Method to get the colspan.

GetString

public string GetString()
Method to get the html code of the class.

SetNewLine

public void SetNewLine(var $value)
Method to set to put the object to a new line.
Parameters:
$value - Default Value: TRUE

IsNewLine

public bool IsNewLine()
Method to check if the object should be placed to a new line.

IsHidden

public bool IsHidden()
Method to check if the object is a hidden element.

IsObjectAnArray

public bool IsObjectAnArray()
Method to check if the object is an array of objects.