fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7950]


From: Torstein
Subject: [Fmsystem-commits] [7950]
Date: Wed, 26 Oct 2011 09:11:05 +0000

Revision: 7950
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7950
Author:   vator
Date:     2011-10-26 09:11:05 +0000 (Wed, 26 Oct 2011)
Log Message:
-----------


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

Modified: trunk/controller/inc/model/class.control_group.inc.php
===================================================================
--- trunk/controller/inc/model/class.control_group.inc.php      2011-10-26 
09:10:57 UTC (rev 7949)
+++ trunk/controller/inc/model/class.control_group.inc.php      2011-10-26 
09:11:05 UTC (rev 7950)
@@ -13,7 +13,8 @@
                protected $control_area_name;
                protected $building_part_id;
                protected $building_part_descr;
-               
+               protected $order_nr;
+                               
                /**
                 * Constructor.  Takes an optional ID.  If a contract is 
created from outside
                 * the database the ID should be empty so the database can add 
one according to its logic.
@@ -80,6 +81,13 @@
                }
                
                public function get_building_part_descr(){ return 
$this->building_part_descr; }
+               
+               public function set_order_nr($order_nr)
+               {
+                       $this->order_nr = $order_nr;
+               }
+               
+               public function get_order_nr(){ return $this->order_nr; }
 
                public function serialize()
                {
@@ -89,6 +97,7 @@
                        $result['procedure'] = $this->get_procedure_name();
                        $result['control_area'] = 
$this->get_control_area_name();
                        $result['building_part'] = 
$this->get_building_part_descr();
+                       $result['order_nr'] = $this->get_order_nr();
                        
                        return $result;
                }




reply via email to

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