[Mapbender-commits] r6484 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 1 08:08:05 EDT 2010


Author: christoph
Date: 2010-07-01 12:08:05 +0000 (Thu, 01 Jul 2010)
New Revision: 6484

Modified:
   trunk/mapbender/http/classes/class_group.php
Log:


Modified: trunk/mapbender/http/classes/class_group.php
===================================================================
--- trunk/mapbender/http/classes/class_group.php	2010-07-01 11:56:31 UTC (rev 6483)
+++ trunk/mapbender/http/classes/class_group.php	2010-07-01 12:08:05 UTC (rev 6484)
@@ -56,7 +56,6 @@
 			return;
 		}
 		$this->id = $groupId;
-		new mb_warning("Class_group: ID: " . $this->id);
 		try{
 			$this->load();
 		}
@@ -85,7 +84,17 @@
 		return array(
 			"name" => $this->name,
 			"owner" => $this->owner,
-			"description" => $this->description
+			"description" => $this->description,
+			"title" => $this->title,
+	        "address" => $this->address,
+	        "postcode" => $this->postcode,
+	        "city" => $this->city,
+	        "stateorprovince" => $this->stateorprovince,
+	        "country" => $this->country,
+	        "voicetelephone" => $this->voicetelephone,
+	        "facsimiletelephone" => $this->facsimiletelephone,
+	        "email" => $this->email,
+	        "logo_path" => $this->logo_path
 		);
 	}
 	
@@ -143,7 +152,6 @@
 		$this->owner = $changes->owner ? $owner->id : $this->owner;
 		$this->description = $changes->description ? $changes->description : $this->description;
 		$this->id = $changes->id ? $changes->id->value : $this->id;
-
         return true;
 	}
 
@@ -285,7 +293,7 @@
 		if (!is_null($this->name)) {
 			return true;
 		}
-		new mb_exception("Group with ID " . $this->id . " does not exist.");
+		new mb_warning("Group with ID " . $this->id . " does not exist.");
 		return false;
 	}
 	



More information about the Mapbender_commits mailing list