From 6441a960edc875a0c33fa8bbd735fd1faebaa552 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 28 Mar 2008 19:18:55 +0000 Subject: Marcus Povey * Metadata and Annotations now exported. git-svn-id: https://code.elgg.org/elgg/trunk@291 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/export.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'engine/lib/export.php') diff --git a/engine/lib/export.php b/engine/lib/export.php index 89b5a1ef5..5937a71bc 100644 --- a/engine/lib/export.php +++ b/engine/lib/export.php @@ -10,6 +10,17 @@ * @link http://elgg.org/ */ + /** + * Define an interface for all exportable objects. + */ + interface Exportable + { + /** + * This must take the contents of the object and return it as a stdClass. + */ + public function export(); + } + /** * Export a GUID. * -- cgit v1.2.3