Class DataTreeObject_Share

Description

Extension of the DataTreeObject class for storing Share information in the DataTree driver. If you want to store specialized Share information, you should extend this class instead of extending DataTreeObject directly.

Located in /Share/Share/datatree.php (line 493)

DataTreeObject
   |
   --DataTreeObject_Share
Method Summary
 void _fromAttributes (array $attributes, [boolean $permsonly = false])
 array _toAttributes ([boolean $permsonly = false])
 array __sleep ()
Variables
Methods
_fromAttributes (line 562)

Takes in a list of attributes from the backend and maps it to our internal data array.

  • access: protected
void _fromAttributes (array $attributes, [boolean $permsonly = false])
  • array $attributes: The list of attributes from the backend (attribute name, key, and value).
  • boolean $permsonly: Only process permissions? Lets subclasses override part of this method while handling their additional attributes seperately.
_toAttributes (line 520)

Maps this object's attributes from the data array into a format that we can store in the attributes storage backend.

  • return: The attributes array.
  • access: protected
array _toAttributes ([boolean $permsonly = false])
  • boolean $permsonly: Only process permissions? Lets subclasses override part of this method while handling their additional attributes seperately.
__sleep (line 500)

Returns the properties that need to be serialized.

  • return: List of serializable properties.
array __sleep ()

Inherited Methods

Inherited From DataTreeObject

 DataTreeObject::DataTreeObject()
 DataTreeObject::delete()
 DataTreeObject::get()
 DataTreeObject::getChild()
 DataTreeObject::getData()
 DataTreeObject::getId()
 DataTreeObject::getName()
 DataTreeObject::getParent()
 DataTreeObject::getShortName()
 DataTreeObject::save()
 DataTreeObject::set()
 DataTreeObject::setData()
 DataTreeObject::setDataTree()
 DataTreeObject::setName()
 DataTreeObject::setOrder()

Documentation generated on Sun, 30 Jan 2011 05:16:34 +0000 by phpDocumentor 1.4.3