fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7635]


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [7635]
Date: Fri, 16 Sep 2011 10:47:40 +0000

Revision: 7635
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7635
Author:   erikhl
Date:     2011-09-16 10:47:39 +0000 (Fri, 16 Sep 2011)
Log Message:
-----------


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

Modified: trunk/controller/inc/model/class.procedure.inc.php
===================================================================
--- trunk/controller/inc/model/class.procedure.inc.php  2011-09-16 10:46:55 UTC 
(rev 7634)
+++ trunk/controller/inc/model/class.procedure.inc.php  2011-09-16 10:47:39 UTC 
(rev 7635)
@@ -114,5 +114,18 @@
 //                     _debug_array($procedure_arr);
                        return $procedure_arr;
                }
+               
+               public function serialize()
+               {
+                       return array(
+                                       'id' => $this->get_id(),
+                                       'title' => $this->get_title(),
+                                       'description' => 
$this->get_description(),
+                                       'purpose' => $this->get_purpose(),
+                                       'responsibility' => 
$this->get_responsibility(),
+                                       'reference' => $this->get_reference(),
+                                       'attachment' => $this->get_attachment()
+                       );
+               }
        }
 ?>
\ No newline at end of file




reply via email to

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