|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TextField
A class to be used in class ControlGroup it will create a text box
Constructor Summary | |
TextField(var $name,
var $value,
var $size,
var $maxLength,
var $displayOnly)
Constructor of the class TextField. |
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 text field. |
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 text field. |
void |
SetNewLine(var $value)
Method to set to put the object to a new line. |
bool |
Validate(var $fieldType,
var $min,
var $max,
var $intType)
Method to validate the text fields. |
Constructor Detail |
public TextField(var $name, var $value, var $size, var $maxLength, var $displayOnly)
$size
- Default Value: 15$maxLength
- Default Value: 15$displayOnly
- Default Value: falseMethod Detail |
public void SetName(var $name)
public string GetName()
public void SetCellAttributes(var $cellAttr)
public string GetCellAttributes()
public string GetId()
public void SetId(var $id)
public void SetCSS(var $css)
public string GetCSS()
public void SetClass(var $class)
public string GetClass()
public void SetColSpan(var $colspan)
public integer GetColSpan()
public string GetString()
public void SetNewLine(var $value)
$value
- Default Value: TRUEpublic bool IsNewLine()
public bool IsHidden()
public bool IsObjectAnArray()
public bool Validate(var $fieldType, var $min, var $max, var $intType)
$min
- Default Value: 0$max
- Default Value: 0$intType
- Default Value: "Int"
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |