]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3209 finished adding class properties documentation
authorCash Costello <cash.costello@gmail.com>
Sun, 1 Jan 2012 23:30:17 +0000 (18:30 -0500)
committerCash Costello <cash.costello@gmail.com>
Sun, 1 Jan 2012 23:30:17 +0000 (18:30 -0500)
engine/classes/ElggExtender.php
engine/classes/ElggObject.php
engine/classes/ElggRelationship.php
engine/classes/ElggRiverItem.php
mod/blog/classes/ElggBlog.php
mod/thewire/classes/ElggWire.php

index d6f79d18dcc237e31a59bd2f3a6eca3c99c7ab82..bc2d67ae2381e22eca8454b7d3d6d20d3b398f81 100644 (file)
@@ -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.
  *
  * @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
 {
index 582308f2852136d935c16557e745a0c357d7bc35..649e324900841712f714c0819c5846cbef762039 100644 (file)
@@ -17,6 +17,7 @@
  * 
  * @property string $title       The title, name, or summary of this object
  * @property string $description The body, description, or content of the object
+ * @property array  $tags        Array of tags that describe the object
  */
 class ElggObject extends ElggEntity {
 
index 2d9a32cbd899b75e001228eac50e78ad5071449d..efc0f7effebb8f16c439375761a5995b3550921d 100644 (file)
@@ -4,6 +4,12 @@
  *
  * @package    Elgg.Core
  * @subpackage Core
+ * 
+ * @property int    $id           The unique identifier (read-only)
+ * @property int    $guid_one     The GUID of the subject of the relationship
+ * @property string $relationship The name of the relationship
+ * @property int    $guid_two     The GUID of the object of the relationship
+ * @property int    $time_created A UNIX timestamp of when the relationship was created (read-only, set on first save)
  */
 class ElggRelationship extends ElggData implements
        Importable
index fcc8f9c85ff78baac8967b68cbc9b788776f16c9..8fef6bb9d631a28e55640aea55577ab45978536f 100644 (file)
@@ -4,6 +4,17 @@
  *
  * @package    Elgg.Core
  * @subpackage Core
+ * 
+ * @property int $id             The unique identifier (read-only)
+ * @property int $subject_guid   The GUID of the actor
+ * @property int $object_guid    The GUID of the object
+ * @property int $annotation_id  The ID of the annotation involved in the action 
+ * @property string $type        The type of one of the entities involved in the action
+ * @property string $subtype     The subtype of one of the entities involved in the action
+ * @property string $action_type The name of the action 
+ * @property string $view        The view for displaying this river item
+ * @property int    $access_id   The visibility of the river item
+ * @property int    $posted      UNIX timestamp when the action occurred
  */
 class ElggRiverItem
 {
index ee2ec73effbd2c92b1848668ceb0644fac450e8d..8d4401c579945562b0a9d3964173813d66d217ba 100644 (file)
@@ -1,6 +1,10 @@
 <?php
 /**
  * Extended class to override the time_created
+ * 
+ * @property string $status      The published status of the blog post (published, draft)
+ * @property string $comments_on Whether commenting is allowed (Off, On)
+ * @property string $excerpt     An excerpt of the blog post used when displaying the post
  */
 class ElggBlog extends ElggObject {
 
index 3242dd5cbb83646483c481951b1b400e12a84bc6..5155a7f970b57b188644c9f3d43b8637e48c6c8f 100644 (file)
@@ -1,6 +1,10 @@
 <?php
 /**
  * ElggWire Class
+ * 
+ * @property string $method      The method used to create the wire post
+ * @property bool   $reply       Whether this wire post was a reply to another post
+ * @property int    $wire_thread The identifier of the thread for this wire post
  */
 class ElggWire extends ElggObject {