fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7658]


From: Torstein
Subject: [Fmsystem-commits] [7658]
Date: Tue, 20 Sep 2011 07:05:25 +0000

Revision: 7658
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7658
Author:   vator
Date:     2011-09-20 07:05:24 +0000 (Tue, 20 Sep 2011)
Log Message:
-----------


Removed Paths:
-------------
    trunk/controller/inc/model/class.control_type.inc.php

Deleted: trunk/controller/inc/model/class.control_type.inc.php
===================================================================
--- trunk/controller/inc/model/class.control_type.inc.php       2011-09-20 
06:36:18 UTC (rev 7657)
+++ trunk/controller/inc/model/class.control_type.inc.php       2011-09-20 
07:05:24 UTC (rev 7658)
@@ -1,50 +0,0 @@
-<?php
-       include_class('controller', 'model', 'inc/model/');
-       
-       class controller_control_area extends controller_model
-       {
-               public static $so;
-
-               protected $id;
-               protected $title;
-               
-               /**
-                * 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 composite
-                */
-               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_title($title)
-               {
-                       $this->title = $title;
-               }
-               
-               public function get_title(){ return $this->title; }
-                       
-               /**
-                * 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('controller_control_area');
-                       }
-                       
-                       return self::$so;
-               }
-       }
-?>
\ No newline at end of file




reply via email to

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