Class SelectBox

SelectBox

public class SelectBox

A class to be used in class ControlGroup it will create a select box


Constructor Summary
SelectBox()
           
 
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 GetId()
          Method to get the id.
 string GetName()
          Method to get the name of the select box.
 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 SetId(var $id)
          Method to set the id.
 void SetName(var $name)
          Method to set the name of the select box.
 void SetNewLine(var $value)
          Method to set to put the object to a new line.
 void SetReturnValueAsText()
          Method to set the option if you want the text or index to be the value.
 void SetZebraColor(var $color)
          Method to set the reversing color in the select box.
 void SetZebraColorEveryNtimes(var $number)
          Method to set the reversing color index for the select box.
 

Constructor Detail

SelectBox

public SelectBox()
Method Detail

SetName

public void SetName(var $name)
Method to set the name of the select box.

GetName

public string GetName()
Method to get the name of the select box.

SetCellAttributes

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

GetCellAttributes

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

SetZebraColor

public void SetZebraColor(var $color)
Method to set the reversing color in the select box.

SetZebraColorEveryNtimes

public void SetZebraColorEveryNtimes(var $number)
Method to set the reversing color index for the select box.

GetId

public string GetId()
Method to get the id.

SetId

public void SetId(var $id)
Method to set the id.

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.

SetReturnValueAsText

public void SetReturnValueAsText()
Method to set the option if you want the text or index to be the value.

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.