fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [7704]


From: Torstein
Subject: [Fmsystem-commits] [7704]
Date: Fri, 23 Sep 2011 05:59:21 +0000

Revision: 7704
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7704
Author:   vator
Date:     2011-09-23 05:59:21 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------


Modified Paths:
--------------
    trunk/controller/inc/model/class.control_area.inc.php

Modified: trunk/controller/inc/model/class.control_area.inc.php
===================================================================
--- trunk/controller/inc/model/class.control_area.inc.php       2011-09-23 
05:59:02 UTC (rev 7703)
+++ trunk/controller/inc/model/class.control_area.inc.php       2011-09-23 
05:59:21 UTC (rev 7704)
@@ -33,6 +33,14 @@
                
                public function get_title(){ return $this->title; }
                        
+               public function serialize()
+               {
+                       return array(
+                                       'id' => $this->get_id(),
+                                       'title' => $this->get_title()
+                       );
+               }
+               
                /**
                 * Get a static reference to the storage object associated with 
this model object
                 * 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]