diff options
Diffstat (limited to 'engine/classes/ElggExtender.php')
| -rw-r--r-- | engine/classes/ElggExtender.php | 22 | 
1 files changed, 18 insertions, 4 deletions
diff --git a/engine/classes/ElggExtender.php b/engine/classes/ElggExtender.php index d6f79d18d..d94bad837 100644 --- a/engine/classes/ElggExtender.php +++ b/engine/classes/ElggExtender.php @@ -3,8 +3,7 @@   * The base class for ElggEntity extenders.   *   * Extenders allow you to attach extended information to an - * ElggEntity.  Core supports two: ElggAnnotation, ElggMetadata, - * and ElggRelationship + * ElggEntity.  Core supports two: ElggAnnotation and ElggMetadata.   *   * Saving the extender data to database is handled by the child class.   * @@ -16,9 +15,24 @@   * @link       http://docs.elgg.org/DataModel/Extenders   * @see        ElggAnnotation   * @see        ElggMetadata + *  + * @property string $type         annotation or metadata (read-only after save) + * @property int    $id           The unique identifier (read-only) + * @property int    $entity_guid  The GUID of the entity that this extender describes + * @property int    $access_id    Specifies the visibility level of this extender + * @property string $name         The name of this extender + * @property mixed  $value        The value of the extender (int or string) + * @property int    $time_created A UNIX timestamp of when the extender was created (read-only, set on first save)   */ -abstract class ElggExtender extends ElggData -{ +abstract class ElggExtender extends ElggData { + +	/** +	 * (non-PHPdoc) +	 * +	 * @see ElggData::initializeAttributes() +	 * +	 * @return void +	 */  	protected function initializeAttributes() {  		parent::initializeAttributes();  | 
