From 39780175ff176d11a54c1e4e0dee2ff537790392 Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 14 Apr 2008 09:18:17 +0000 Subject: Marcus Povey * ODD Annotation and Metadata export git-svn-id: https://code.elgg.org/elgg/trunk@439 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/extender.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'engine/lib/extender.php') 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 * -- cgit v1.2.3