fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7853] Added field and functions for order_nr


From: Torstein
Subject: [Fmsystem-commits] [7853] Added field and functions for order_nr
Date: Wed, 12 Oct 2011 08:50:11 +0000

Revision: 7853
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7853
Author:   vator
Date:     2011-10-12 08:50:04 +0000 (Wed, 12 Oct 2011)
Log Message:
-----------
Added field and functions for order_nr

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

Modified: trunk/controller/inc/model/class.control_item_list.inc.php
===================================================================
--- trunk/controller/inc/model/class.control_item_list.inc.php  2011-10-12 
08:46:21 UTC (rev 7852)
+++ trunk/controller/inc/model/class.control_item_list.inc.php  2011-10-12 
08:50:04 UTC (rev 7853)
@@ -8,6 +8,7 @@
                protected $id;
                protected $control_id;
                protected $control_item_id;
+               protected $order_nr;
                                
                /**
                 * Constructor.  Takes an optional ID.  If a contract is 
created from outside
@@ -15,11 +16,12 @@
                 * 
                 * @param int $id the id of this composite
                 */
+                       
                public function __construct(int $id = null)
                {
                        $this->id = (int)$id;
                }
-               
+               
                public function set_id($id)
                {
                        $this->id = $id;
@@ -40,6 +42,13 @@
                }
                
                public function get_control_item_id() { return 
$this->control_item_id; }
+               
+               public function set_order_nr($order_nr)
+               {
+                       $this->order_nr = $order_nr;
+               }
+               
+               public function get_order_nr() { return $this->order_nr; }
                                
                /**
                 * 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]