aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authormisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 15:14:54 +0000
committermisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 15:14:54 +0000
commitbf79a8fe8a332546f96f00edc424377f6200344e (patch)
tree276fc4403e69b6842cb7706600067161c7d117ec /engine/lib/entities.php
parent7a2ae99931f3ecbcfbdb740c96149e41212a2a31 (diff)
downloadelgg-bf79a8fe8a332546f96f00edc424377f6200344e.tar.gz
elgg-bf79a8fe8a332546f96f00edc424377f6200344e.tar.bz2
Misja Hoebe <misja@curverider.co.uk> More docstring fixes
git-svn-id: https://code.elgg.org/elgg/trunk@421 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php55
1 files changed, 54 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 64aa902de..a31da1c88 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -12,9 +12,12 @@
*/
/**
- * @class ElggEntity The elgg entity superclass
+ * ElggEntity The elgg entity superclass
* This class holds methods for accessing the main entities table.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Core
*/
abstract class ElggEntity implements
Exportable, // Allow export of data
@@ -34,6 +37,8 @@
* This is vital to distinguish between metadata and base parameters.
*
* Place your base parameters here.
+ *
+ * @return void
*/
protected function initialise_attributes()
{
@@ -252,12 +257,60 @@
return can_edit_entity($this->getGUID(),$user_guid);
}
+ /**
+ * Enter description here...
+ *
+ * @return unknown
+ * @todo document me
+ */
public function getAccessID() { return $this->get('access_id'); }
+
+ /**
+ * Enter description here...
+ *
+ * @return unknown
+ * @todo document me
+ */
public function getGUID() { return $this->get('guid'); }
+
+ /**
+ * Enter description here...
+ *
+ * @return unknown
+ * @todo document me
+ */
public function getOwner() { return $this->get('owner_guid'); }
+
+ /**
+ * Enter description here...
+ *
+ * @return unknown
+ * @todo document me
+ */
public function getType() { return $this->get('type'); }
+
+ /**
+ * Enter description here...
+ *
+ * @return unknown
+ * @todo document me
+ */
public function getSubtype() { return get_subtype_from_id($this->get('subtype')); }
+
+ /**
+ * Enter description here...
+ *
+ * @return unknown
+ * @todo document me
+ */
public function getTimeCreated() { return $this->get('time_created'); }
+
+ /**
+ * Enter description here...
+ *
+ * @return unknown
+ * @todo document me
+ */
public function getTimeUpdated() { return $this->get('time_updated'); }
/**