fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [8007]


From: Torstein
Subject: [Fmsystem-commits] [8007]
Date: Fri, 04 Nov 2011 07:21:48 +0000

Revision: 8007
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8007
Author:   vator
Date:     2011-11-04 07:21:46 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------


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

Modified: trunk/controller/inc/model/class.check_item.inc.php
===================================================================
--- trunk/controller/inc/model/class.check_item.inc.php 2011-11-03 13:41:15 UTC 
(rev 8006)
+++ trunk/controller/inc/model/class.check_item.inc.php 2011-11-04 07:21:46 UTC 
(rev 8007)
@@ -8,6 +8,7 @@
                protected $id;
                protected $control_item_id;
                protected $status;
+               protected $comment;
                protected $check_list_id;
                
                /**
@@ -42,6 +43,13 @@
                
                public function get_status() { return $this->status; }
                
+               public function set_comment($comment)
+               {
+                       $this->comment = $comment;
+               }
+               
+               public function get_comment() { return $this->comment; }
+               
                public function set_check_list_id($check_list_id)
                {
                        $this->check_list_id = $check_list_id;

Modified: trunk/controller/inc/model/class.check_list.inc.php
===================================================================
--- trunk/controller/inc/model/class.check_list.inc.php 2011-11-03 13:41:15 UTC 
(rev 8006)
+++ trunk/controller/inc/model/class.check_list.inc.php 2011-11-04 07:21:46 UTC 
(rev 8007)
@@ -1,16 +1,16 @@
 <?php
        include_class('controller', 'model', 'inc/model/');
        
-       class controller_check_item extends controller_model
+       class controller_check_list extends controller_model
        {
                public static $so;
 
                protected $id;
                protected $control_id;
-               protected $check_list_id;
                protected $status;
                protected $comment;
                protected $deadline;
+               protected $check_item_array = array();
                
                /**
                 * Constructor.  Takes an optional ID.  If a contract is 
created from outside
@@ -37,13 +37,6 @@
                
                public function get_control_id() { return $this->control_id; }
                
-               public function set_check_list_id($check_list_id)
-               {
-                       $this->check_list_id = $check_list_id;
-               }
-               
-               public function get_check_list_id() { return 
$this->check_list_id; }
-               
                public function set_status($status)
                {
                        $this->status = $status;
@@ -65,6 +58,11 @@
                
                public function get_deadline() { return $this->deadline; }
                
+               public function set_check_item_array($check_item_array)
+               {
+                       $this->check_item_array = $check_item_array;
+               }
                
+               public function get_check_item_array() { return 
$this->check_item_array; }
        }
 ?>
\ No newline at end of file




reply via email to

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