aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/extender.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-14 09:18:17 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-14 09:18:17 +0000
commit39780175ff176d11a54c1e4e0dee2ff537790392 (patch)
tree8d35f056200660cbe82cff9e60d31b0b28c0ad4d /engine/lib/extender.php
parent48af92966e9030431eccd0a30d277e88092e4876 (diff)
downloadelgg-39780175ff176d11a54c1e4e0dee2ff537790392.tar.gz
elgg-39780175ff176d11a54c1e4e0dee2ff537790392.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* ODD Annotation and Metadata export git-svn-id: https://code.elgg.org/elgg/trunk@439 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r--engine/lib/extender.php19
1 files changed, 3 insertions, 16 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php
index e22de5109..fc4655345 100644
--- a/engine/lib/extender.php
+++ b/engine/lib/extender.php
@@ -18,7 +18,7 @@
* @package Elgg
* @subpackage Core
*/
- abstract class ElggExtender implements Exportable, Importable
+ abstract class ElggExtender implements Importable
{
/**
* This contains the site's main properties (id, etc)
@@ -96,24 +96,11 @@
* @param int $user_guid The GUID of the user (defaults to currently logged in user)
* @return true|false
*/
- function canEdit($user_guid = 0) {
+ public function canEdit($user_guid = 0) {
return can_edit_extender($this->id,$this->type,$user_guid);
- }
-
- /**
- * Export this object
- *
- * @return array
- */
- public function export()
- {
- $tmp = new stdClass;
- $tmp->attributes = $this->attributes;
- $tmp->attributes['owner_uuid'] = guid_to_uuid($this->owner_guid);
- $tmp->attributes['entity_uuid'] = guid_to_uuid($this->entity_guid);
- return $tmp;
}
+
/**
* Import an object
*