From bf79a8fe8a332546f96f00edc424377f6200344e Mon Sep 17 00:00:00 2001 From: misja Date: Tue, 8 Apr 2008 15:14:54 +0000 Subject: Misja Hoebe More docstring fixes git-svn-id: https://code.elgg.org/elgg/trunk@421 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 55 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) (limited to 'engine/lib/entities.php') 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 + * @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'); } /** -- cgit v1.2.3