fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10176] Logistic: Updating new fields


From: Torstein
Subject: [Fmsystem-commits] [10176] Logistic: Updating new fields
Date: Tue, 09 Oct 2012 12:28:49 +0000

Revision: 10176
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10176
Author:   vator
Date:     2012-10-09 12:28:49 +0000 (Tue, 09 Oct 2012)
Log Message:
-----------
Logistic: Updating new fields

Modified Paths:
--------------
    trunk/logistic/inc/model/class.requirement_resource_allocation.inc.php

Modified: trunk/logistic/inc/model/class.requirement_resource_allocation.inc.php
===================================================================
--- trunk/logistic/inc/model/class.requirement_resource_allocation.inc.php      
2012-10-09 12:23:30 UTC (rev 10175)
+++ trunk/logistic/inc/model/class.requirement_resource_allocation.inc.php      
2012-10-09 12:28:49 UTC (rev 10176)
@@ -35,9 +35,9 @@
 
                protected static $id;
                protected static $requirement_id;
-               protected static $article_id;
-               protected static $type;
-
+               protected static $resource_id;
+               protected static $location_id;
+               
                /**
                 * 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.
@@ -69,24 +69,24 @@
                        return $this->requirement_id;
                }
 
-               public function set_article_id($article_id)
+               public function set_resource_id($resource_id)
                {
-                       $this->article_id = $article_id;
+                       $this->resource_id = $resource_id;
                }
 
-               public function get_article_id()
+               public function get_resource_id()
                {
-                       return $this->article_id;
+                       return $this->resource_id;
                }
 
-               public function set_type($type)
+               public function set_location_id($location_id)
                {
-                       $this->type = $type;
+                       $this->location_id = $location_id;
                }
 
-               public function get_type()
+               public function get_location_id()
                {
-                       return $this->type;
+                       return $this->location_id;
                }
 
                /**




reply via email to

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