Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Asset_Attribute_Serialise Class Reference
Inheritance diagram for Asset_Attribute_Serialise:
Asset_Attribute MySource_Object Asset_Attribute_HTTP_Request Asset_Attribute_Parameter_Map Asset_Attribute_OAuth

Public Member Functions

 Asset_Attribute_Serialise ($attributeid=0, $value=null)
 
 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
 

Detailed Description

Definition at line 31 of file serialise.inc.

Member Function Documentation

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

Constructor

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

Definition at line 42 of file serialise.inc.

getContent ( )

Returns the content of the attribute

Returns
string public

Definition at line 81 of file serialise.inc.

validateValue ( $value)

Ensure the attribute being set is serilisable

Parameters
mixed&$valuevalue to be validated
Returns
boolean public

Definition at line 57 of file serialise.inc.


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