aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 23:17:10 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 23:17:10 +0000
commit6a1665514023aa511e1e0bdbd56cbe7eace3f4a7 (patch)
tree210dd4cdba434c572c471178d535913a0399c920 /engine
parent55562a94319c02708f15313c5592989bc060ffd7 (diff)
downloadelgg-6a1665514023aa511e1e0bdbd56cbe7eace3f4a7.tar.gz
elgg-6a1665514023aa511e1e0bdbd56cbe7eace3f4a7.tar.bz2
Refs #2597: Added a new ElggData class that ElggEntity, ElggExtender, and ElggRelationship all extend
git-svn-id: http://code.elgg.org/elgg/trunk@7152 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggData.php5
-rw-r--r--engine/classes/ElggEntity.php2
-rw-r--r--engine/classes/ElggExtender.php2
-rw-r--r--engine/classes/ElggRelationship.php2
4 files changed, 8 insertions, 3 deletions
diff --git a/engine/classes/ElggData.php b/engine/classes/ElggData.php
new file mode 100644
index 000000000..5f152024c
--- /dev/null
+++ b/engine/classes/ElggData.php
@@ -0,0 +1,5 @@
+<?php
+abstract class ElggData
+{
+
+} \ No newline at end of file
diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php
index 95b141d45..3d0e112f3 100644
--- a/engine/classes/ElggEntity.php
+++ b/engine/classes/ElggEntity.php
@@ -26,7 +26,7 @@
* @subpackage DataMode.Entities
* @link http://docs.elgg.org/DataModel/ElggEntity
*/
-abstract class ElggEntity implements
+abstract class ElggEntity extends ElggData implements
Notable, // Calendar interface
Locatable, // Geocoding interface
Exportable, // Allow export of data
diff --git a/engine/classes/ElggExtender.php b/engine/classes/ElggExtender.php
index cfc8fbf68..707906bac 100644
--- a/engine/classes/ElggExtender.php
+++ b/engine/classes/ElggExtender.php
@@ -17,7 +17,7 @@
* @see ElggAnnotation
* @see ElggMetadata
*/
-abstract class ElggExtender implements
+abstract class ElggExtender extends ElggData implements
Exportable,
Loggable, // Can events related to this object class be logged
Iterator, // Override foreach behaviour
diff --git a/engine/classes/ElggRelationship.php b/engine/classes/ElggRelationship.php
index 847dfa8e9..c072e1cc6 100644
--- a/engine/classes/ElggRelationship.php
+++ b/engine/classes/ElggRelationship.php
@@ -5,7 +5,7 @@
* @package Elgg.Core
* @subpackage Core
*/
-class ElggRelationship implements
+class ElggRelationship extends ElggData implements
Importable,
Exportable,
Loggable, // Can events related to this object class be logged