Class ObjectArray

ObjectArray

public class ObjectArray

A class to be used in class ControlGroup it will create an array of form objects, like button, text area, radio button etc.


Constructor Summary
ObjectArray(var $name)
          Constructor of the class ObjectArray.
 
Method Summary
 void AddObject(var $object)
          Method to add more objects to the array.
 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 object array.
 array GetObjects()
          Method to get the array ob objects.
 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 object array.
 void SetNewLine(var $value)
          Method to set to put the object to a new line.
 array SetObjects(var $objectArray)
          Method to set the array for the objects.The method takes array of objects and updates it's array.
 

Constructor Detail

ObjectArray

public ObjectArray(var $name)
Constructor of the class ObjectArray.
Method Detail

SetName

public void SetName(var $name)
Method to set the name of the object array.

GetName

public string GetName()
Method to get the name of the object array.

SetCellAttributes

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

GetCellAttributes

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

AddObject

public void AddObject(var $object)
Method to add more objects to the array.

GetObjects

public array GetObjects()
Method to get the array ob objects.

SetObjects

public array SetObjects(var $objectArray)
Method to set the array for the objects.The method takes array of objects and updates it's array.

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.