From 95740405456f72d6d222b08a7b366e5559835ccf Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sun, 14 Nov 2010 06:20:49 +0000 Subject: Added comments to several undocumented methods git-svn-id: http://code.elgg.org/elgg/trunk@7305 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggEntity.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/classes/ElggEntity.php') diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index 66aca035e..96d18142f 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -23,7 +23,7 @@ * instead of this class. * * @package Elgg.Core - * @subpackage DataMode.Entities + * @subpackage DataModel.Entities * @link http://docs.elgg.org/DataModel/ElggEntity */ abstract class ElggEntity extends ElggData implements @@ -83,7 +83,7 @@ abstract class ElggEntity extends ElggData implements */ protected function initializeAttributes() { parent::initializeAttributes(); - + initialise_entity_cache(); $this->attributes['guid'] = ""; @@ -654,9 +654,9 @@ abstract class ElggEntity extends ElggData implements * Can a user write to this entity * * @param int $user_guid The user. - * @param string $type The type of entity we're looking to write + * @param string $type The type of entity we're looking to write * @param string $subtype The subtype of the entity we're looking to write - * + * * @return bool */ public function canWriteToContainer($user_guid = 0, $type = 'all', $subtype = 'all') { @@ -754,7 +754,7 @@ abstract class ElggEntity extends ElggData implements public function getContainerEntity() { return get_entity($this->getContainer()); } - + /** * Returns the UNIX epoch time that this entity was last updated * -- cgit v1.2.3