Squiz Matrix
4.12.2
|
Public Member Functions | |
Asset_Attribute_Boolean ($attributeid=0, $value=null) | |
setEditParams (&$node) | |
paintEditParams ($prefix, $write_access=false) | |
processEditParams ($prefix) | |
paint ($prefix, $read_only=false) | |
process ($prefix) | |
validateValue (&$value) | |
getContent () | |
Public Member Functions inherited from Asset_Attribute | |
Asset_Attribute ($attributeid=0, $value=NULL, $default_params=Array()) | |
& | loadAttribute ($attributeid=0, $value=NULL, $default_params=Array()) |
type () | |
paint ($prefix, $read_only=FALSE) | |
paintEditParams ($prefix, $write_access=FALSE) | |
processEditParams ($prefix) | |
process ($prefix) | |
validateValue (&$value) | |
setValue (&$value) | |
setEditParams (&$node) | |
setEditParam ($field, $value) | |
setParam ($field, $value) | |
getContent () | |
getKeywordValue ($format='') | |
exportToXML () | |
exportContentsToXML () | |
Public Member Functions inherited from MySource_Object | |
MySource_Object () | |
__sleep () | |
__wakeup () | |
Additional Inherited Members | |
Data Fields inherited from Asset_Attribute | |
$id = 0 | |
$name = '' | |
$uniq = FALSE | |
$description = '' | |
$_params = Array() | |
$_default_value = NULL | |
$_edit_params = Array() | |
$value = NULL | |
$processed = FALSE | |
$is_admin = FALSE | |
Definition at line 38 of file boolean.inc.
Asset_Attribute_Boolean | ( | $attributeid = 0 , |
|
$value = null |
|||
) |
Constructor
int | $attributeid | the attribute id to be loaded |
mixed | $value | the current value for the element |
Definition at line 49 of file boolean.inc.
getContent | ( | ) |
Returns the raw content for this attribute type
Definition at line 283 of file boolean.inc.
paint | ( | $prefix, | |
$read_only = false |
|||
) |
Prints the interface for filling in a value
string | $prefix | prefix for the form element |
boolean | $read_only | are we just printing the value |
Definition at line 193 of file boolean.inc.
paintEditParams | ( | $prefix, | |
$write_access = false |
|||
) |
Print the interface for changing edit params
string | $prefix | prefix for the form elements |
Definition at line 99 of file boolean.inc.
process | ( | $prefix | ) |
Prints the interface for filling in a value
string | prefix prefix for the form element |
public
Definition at line 225 of file boolean.inc.
processEditParams | ( | $prefix | ) |
Process the interface for changig edit params
string | $prefix | prefix for the form elements |
Definition at line 160 of file boolean.inc.
setEditParams | ( | & | $node | ) |
Takes an XML_Tree_Node from an edit interface XML file and creates the params array from it
object | XML_Tree_Node $node |
Definition at line 74 of file boolean.inc.
validateValue | ( | & | $value | ) |
Ensure the attribute being set is an integer
mixed | &$value | value to be validated |
Definition at line 246 of file boolean.inc.