[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10178] Logistic: Removed table so deleting this mode
From: |
Torstein |
Subject: |
[Fmsystem-commits] [10178] Logistic: Removed table so deleting this model class |
Date: |
Tue, 09 Oct 2012 12:30:29 +0000 |
Revision: 10178
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10178
Author: vator
Date: 2012-10-09 12:30:29 +0000 (Tue, 09 Oct 2012)
Log Message:
-----------
Logistic: Removed table so deleting this model class
Removed Paths:
-------------
trunk/logistic/inc/model/class.requirement_resource_type.inc.php
Deleted: trunk/logistic/inc/model/class.requirement_resource_type.inc.php
===================================================================
--- trunk/logistic/inc/model/class.requirement_resource_type.inc.php
2012-10-09 12:29:03 UTC (rev 10177)
+++ trunk/logistic/inc/model/class.requirement_resource_type.inc.php
2012-10-09 12:30:29 UTC (rev 10178)
@@ -1,105 +0,0 @@
-<?php
-
- /**
- * phpGroupWare - logistic: a part of a Facilities Management System.
- *
- * @author Erik Holm-Larsen <address@hidden>
- * @copyright Copyright (C) 2011,2012 Free Software Foundation, Inc.
http://www.fsf.org/
- * This file is part of phpGroupWare.
- *
- * phpGroupWare is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * phpGroupWare is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with phpGroupWare; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
- *
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
- * @internal Development of this application was funded by
http://www.bergen.kommune.no/
- * @package property
- * @subpackage logistic
- * @version $Id $
- */
- include_class('logistic', 'model', '/inc/model/');
-
- class logistic_requirement_resource_type extends logistic_model
- {
- public static $so;
-
- protected static $id;
- protected static $requirement_id;
- protected static $resource_type_id;
- protected static $no_of_elements;
-
- /**
- * 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.
- *
- * @param int $id the id of this project
- */
- public function __construct(int $id = null)
- {
- $this->id = (int) $id;
- }
-
- public function set_id($id)
- {
- $this->id = $id;
- }
-
- public function get_id()
- {
- return $this->id;
- }
-
- public function set_requirement_id($requirement_id)
- {
- $this->requirement_id = $requirement_id;
- }
-
- public function get_requirement_id()
- {
- return $this->requirement_id;
- }
-
- public function set_resource_type_id($resource_type_id)
- {
- $this->resource_type_id = $resource_type_id;
- }
-
- public function get_resource_type_id()
- {
- return $this->resource_type_id;
- }
-
- public function set_no_of_elements($no_of_elements)
- {
- $this->no_of_elements = $no_of_elements;
- }
-
- public function get_no_of_elements()
- {
- return $this->no_of_elements;
- }
-
- /**
- * Get a static reference to the storage object associated with
this model object
- *
- * @return the storage object
- */
- public static function get_so()
- {
- if (self::$so == null) {
- self::$so =
CreateObject('logistic.sorequirement_resource_type');
- }
-
- return self::$so;
- }
- }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10178] Logistic: Removed table so deleting this model class,
Torstein <=