Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Asset_Attribute_Text Class Reference
Inheritance diagram for Asset_Attribute_Text:
Asset_Attribute MySource_Object Asset_Attribute_Email Asset_Attribute_Password Asset_Attribute_WYSIWYG Asset_Attribute_Email_Format

Public Member Functions

 Asset_Attribute_Text ($attributeid=0, $value=null)
 
 paintEditParams ($prefix, $write_access=false)
 
 processEditParams ($prefix)
 
 setEditParams (&$node)
 
 paint ($prefix, $read_only=false)
 
 process ($prefix)
 
 validateValue (&$value)
 
- 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
 

Detailed Description

Definition at line 35 of file text.inc.

Member Function Documentation

Asset_Attribute_Text (   $attributeid = 0,
  $value = null 
)

Constructor

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

Definition at line 45 of file text.inc.

paint (   $prefix,
  $read_only = false 
)

Prints the interface for filling in a value

Parameters
string$prefixprefix for the form element
boolean$read_onlyare we just printing the value
Returns
void public

Definition at line 161 of file text.inc.

paintEditParams (   $prefix,
  $write_access = false 
)

Print the interface for changing edit params

Parameters
string$prefixprefix for the form elements
Returns
void public

Definition at line 64 of file text.inc.

process (   $prefix)

Prints the interface for filling in a value

Parameters
stringprefix prefix for the form element
Returns
void public

Definition at line 187 of file text.inc.

processEditParams (   $prefix)

Process the interface for changing edit params

Parameters
string$prefixprefix for the form elements
Returns
array public

Definition at line 107 of file text.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 136 of file text.inc.

validateValue ( $value)

Ensure the attribute being set is a string

Parameters
mixed&$valuevalue to be validated
Returns
boolean public

Definition at line 208 of file text.inc.


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