Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Asset_Attribute_Option_List Class Reference
Inheritance diagram for Asset_Attribute_Option_List:
Asset_Attribute MySource_Object

Public Member Functions

 Asset_Attribute_Option_List ($attributeid=0, $value=NULL, $delimiter=SQ_OPTION_LIST_DELIMITER_WINDOWS)
 
 setEditParams (&$node)
 
 paint ($prefix, $read_only=FALSE, $use_delimiter=TRUE)
 
 _printMoveDownButton ($order, $prefix)
 
 _printMoveUpButton ($order, $prefix)
 
 process ($prefix, $use_delimiter=TRUE)
 
 exportContentsToXML ()
 
- 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 ()
 

Data Fields

 $delimiter = SQ_OPTION_LIST_DELIMITER_WINDOWS
 
- 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
 
- Data Fields inherited from MySource_Object
 $_tmp
 

Detailed Description

Definition at line 38 of file option_list.inc.

Member Function Documentation

_printMoveDownButton (   $order,
  $prefix 
)

paint the down arrow button

Parameters
string$orderOrder of the element
string$prefixprefix for the form elements
Returns
void public

Definition at line 238 of file option_list.inc.

_printMoveUpButton (   $order,
  $prefix 
)

paint the down arrow button

Parameters
string$orderOrder of the element
string$prefixprefix for the form elements
Returns
void public

Definition at line 256 of file option_list.inc.

Asset_Attribute_Option_List (   $attributeid = 0,
  $value = NULL,
  $delimiter = SQ_OPTION_LIST_DELIMITER_WINDOWS 
)

Constructor

Parameters
int$attributeidthe attribute id to be loaded
mixed$valuethe current value for the element

Definition at line 58 of file option_list.inc.

exportContentsToXML ( )

Returns a representation of this asset's parameters, edit parameters and value as XML

Returns
string public

Definition at line 299 of file option_list.inc.

paint (   $prefix,
  $read_only = FALSE,
  $use_delimiter = TRUE 
)

Print the interface for filling in a value

Parameters
string$prefixprefix for the form elements
boolean$read_onlyare we just printing the value
boolean$use_delimiterUse the delimiter (TRUE) or was the value an array (FALSE)
Returns
void public

Definition at line 105 of file option_list.inc.

process (   $prefix,
  $use_delimiter = TRUE 
)

Process the interface for filling in a value

Parameters
string$prefixprefix for the form elements
boolean$use_delimiterUse the delimiter (TRUE) or was the value an array (FALSE)
Returns
void public

Definition at line 274 of file option_list.inc.

setEditParams ( $node)

Takes an XML_Tree_Node from an edit interface XML file and creates the params array from it

Parameters
objectXML_Tree_Node $node
Returns
boolean public

Definition at line 80 of file option_list.inc.


The documentation for this class was generated from the following file: