aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 14:36:39 +0000
committermisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 14:36:39 +0000
commit7a2ae99931f3ecbcfbdb740c96149e41212a2a31 (patch)
tree2825ac73a70ccf14947e962859fd067573e89235
parent0945f262bf45c4277c65bd38db52e0d1ea3211c7 (diff)
downloadelgg-7a2ae99931f3ecbcfbdb740c96149e41212a2a31.tar.gz
elgg-7a2ae99931f3ecbcfbdb740c96149e41212a2a31.tar.bz2
Misja Hoebe <misja@curverider.co.uk> Fixing doctags
git-svn-id: https://code.elgg.org/elgg/trunk@420 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--action.php5
-rw-r--r--engine/lib/annotations.php30
-rw-r--r--engine/lib/sites.php18
-rw-r--r--engine/lib/users.php26
4 files changed, 70 insertions, 9 deletions
diff --git a/action.php b/action.php
index 9c8710137..4e6569242 100644
--- a/action.php
+++ b/action.php
@@ -11,10 +11,11 @@
* @link http://elgg.org/
*/
- // Load searunner framework
+ /**
+ * Load searunner framework
+ */
require_once(dirname(__FILE__) . "/engine/start.php");
- // Get actions
$action = get_input("action");
action($action);
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index dc37cb665..f37e22154 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -11,11 +11,19 @@
* @link http://elgg.org/
*/
- require_once('extender.php'); // include the superclass
+ /**
+ * Include the ElggExtender superclass
+ *
+ */
+ require_once('extender.php');
/**
- * @class ElggAnnotation
+ * ElggAnnotation
+ *
* An annotation is similar to metadata each entity can contain more than one of each annotation.
+ *
+ * @package Elgg
+ * @subpackage Core
* @author Marcus Povey <marcus@dushka.co.uk>
*/
class ElggAnnotation extends ElggExtender
@@ -46,14 +54,32 @@
}
}
+ /**
+ * Class variable getter overloading
+ *
+ * @param string $name
+ * @return mixed
+ */
function __get($name) {
return $this->get($name);
}
+ /**
+ * Class variable setter overloading
+ *
+ * @param string $name
+ * @param mixed $value
+ * @return void
+ */
function __set($name, $value) {
return $this->set($name, $value);
}
+ /**
+ * Save this instance
+ *
+ * @return int an object id
+ */
function save()
{
if ($this->id > 0)
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 9f296fc51..fa49d26fc 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -13,9 +13,11 @@
*/
/**
- * @class ElggSite
+ * ElggSite
* Representation of a "site" in the system.
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Core
*/
class ElggSite extends ElggEntity
{
@@ -82,7 +84,21 @@
}
}
+ /**
+ * Class variable getter overloading
+ *
+ * @param string $name
+ * @return mixed
+ */
function __get($name) { return $this->get($name); }
+
+ /**
+ * Class variable setter overloading
+ *
+ * @param string $name
+ * @param mixed $value
+ * @return mixed
+ */
function __set($name, $value) { return $this->set($name, $value); }
/**
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 2447ea93c..2b4f89704 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -13,8 +13,12 @@
*/
/**
- * @class ElggUser
- * Representation of a "user" in the system.
+ * ElggUser
+ *
+ * Representation of a "user" in the system.
+ *
+ * @package Elgg
+ * @subpackage Core
*/
class ElggUser extends ElggEntity
{
@@ -84,8 +88,22 @@
}
}
}
-
- function __get($name) { return $this->get($name); }
+
+ /**
+ * Class variable getter overloading
+ *
+ * @param string $name
+ * @return mixed
+ */
+ function __get($name) { return $this->get($name); }
+
+ /**
+ * Class variable setter overloading
+ *
+ * @param string $name
+ * @param mixed $value
+ * @return mixed
+ */
function __set($name, $value) { return $this->set($name, $value); }
/**