Construct method
__construct
($name)
Redefined in descendants as:
Add list column
addColumn
($name, $label, $align, $width)
-
$name: = Name of the column in the database
-
$label: = Text label that will be shown in the header
-
$align: = Column align (left, center, right)
-
$width: = Column Width (pixels)
Add item
addItem
($object)
add Items
addItems
($objects)
Add a field validator
addValidation
($label, $validator, [$parameters = NULL])
-
$label: Field name
-
$validator: TFieldValidator object
-
$parameters: Aditional parameters
Disable check all button
disableCheckAll
()
Disable htmlspecialchars on output
disableHtmlConversion
()
Fill with model objects
fillWith
($database, $model, $key, [$ordercolumn = NULL], [$criteria = NULL])
-
$database
-
$model
-
$key
-
$ordercolumn
-
$criteria
Return the name of the form to wich the field is attached
getFormName
()
Get post data
getPostData
()
Returns checklist size
getSize
()
Returns field validations
getValidations
()
Define the name of the form to wich the field is attached
setFormName
($name)
-
$name: A string containing the name of the form
Define the Identification column
setIdColumn
($name)
Set checklist size
setSize
($size)
Validate a field
validate
()
Redirect calls to decorated object
__call
($method, $parameters)