|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ControlGroup
A Class to be used in Form.class.php. Even though you can use it stand alone, its better to be used thru Form.class.php. This way Form can contain multiple instances of this classes objects. Requires Table.class.php, FormElements.class.php, FormVerifications.php
Constructor Summary | |
ControlGroup(var $name)
Constructor of the class ControlGroup. |
Method Summary | |
void |
Add(var $object)
Method to add a new object like a textbox or maybe a radio button. |
void |
AddToNewLine(var $object)
Method to add a new object to a new line like a textbox or maybe a radio button. |
string |
GetString()
Method to get the form in plain html format. |
string |
GetStringInTable()
Method to get the form in plain html inside a table.(Formatted) |
void |
SetAlign(var $stringValue)
Method to set the alignment of the table cells. |
void |
SetCellClass(var $stringValue)
Method to set the class (CSS) of the table cells. |
void |
SetCSS(var $css)
Method to set the class (CSS) for the table and Form elements. |
void |
SetDefaultClassForAllCells(var $class)
Method to set the class for all cells in the table. |
void |
SetEmptyCells(var $trueFalse)
Method to set the class (CSS) of the table cells. |
void |
SetErrorMessage(var $message)
Method to set the error message to be returned with the form. |
void |
SetFormHeader(var $header)
Method to set the header for the form. |
void |
SetTableAttributes(var $tableAttributes)
Method to set the table attributes. |
void |
SetTRMouseOverColor(var $overcolor,
var $outcolor,
var $startingRow)
Method to set the TR mouseover color. |
void |
SetValign(var $stringValue)
Method to set the vertical alignment of the table cells. |
Constructor Detail |
public ControlGroup(var $name)
$name
- Default Value: "myform"Method Detail |
public void Add(var $object)
public void AddToNewLine(var $object)
public void SetErrorMessage(var $message)
public void SetAlign(var $stringValue)
public void SetValign(var $stringValue)
public void SetCellClass(var $stringValue)
public void SetEmptyCells(var $trueFalse)
public void SetTRMouseOverColor(var $overcolor, var $outcolor, var $startingRow)
public void SetCSS(var $css)
public void SetTableAttributes(var $tableAttributes)
public void SetDefaultClassForAllCells(var $class)
public void SetFormHeader(var $header)
public string GetString()
public string GetStringInTable()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |