]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2597: Entity type constructors all use initializeAttributes now
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 31 Oct 2010 00:29:45 +0000 (00:29 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 31 Oct 2010 00:29:45 +0000 (00:29 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7158 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/classes/ElggGroup.php
engine/classes/ElggObject.php
engine/classes/ElggUser.php

index 8721f931bdc8f5ad06bacdeca624e7c46e3f4067..00502dd399abe8650f8c8590012e72665824080f 100644 (file)
@@ -47,7 +47,7 @@ class ElggGroup extends ElggEntity
         * @throws Exception if there was a problem creating the user.
         */
        function __construct($guid = null) {
-               $this->initialise_attributes();
+               $this->initializeAttributes();
 
                if (!empty($guid)) {
                        // Is $guid is a DB row - either a entity row, or a user table row.
index d2e3f14e40cecfae3e4e44aa4e173fac6485f4f5..b8e733903bd4ff7196e9de25f4bc90956786859a 100644 (file)
@@ -62,7 +62,7 @@ class ElggObject extends ElggEntity {
         * @throws InvalidParameterException If passed an Elgg* Entity that isn't an ElggObject
         */
        function __construct($guid = null) {
-               $this->initialise_attributes();
+               $this->initializeAttributes();
 
                if (!empty($guid)) {
                        // Is $guid is a DB row - either a entity row, or a object table row.
index 380fc4e8b682e04de5306edfe52345b574f86ca5..ec951b3599b2050376c4a7e081fe6c9219f694de 100644 (file)
@@ -58,7 +58,7 @@ class ElggUser extends ElggEntity
         * @throws Exception if there was a problem creating the user.
         */
        function __construct($guid = null) {
-               $this->initialise_attributes();
+               $this->initializeAttributes();
 
                if (!empty($guid)) {
                        // Is $guid is a DB row - either a entity row, or a user table row.