fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10123] Controller: Added func for created user, crea


From: Torstein
Subject: [Fmsystem-commits] [10123] Controller: Added func for created user, created date
Date: Fri, 05 Oct 2012 11:55:19 +0000

Revision: 10123
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10123
Author:   vator
Date:     2012-10-05 11:55:19 +0000 (Fri, 05 Oct 2012)
Log Message:
-----------
Controller: Added func for created user, created date

Modified Paths:
--------------
    trunk/logistic/inc/class.soactivity.inc.php

Modified: trunk/logistic/inc/class.soactivity.inc.php
===================================================================
--- trunk/logistic/inc/class.soactivity.inc.php 2012-10-05 11:54:08 UTC (rev 
10122)
+++ trunk/logistic/inc/class.soactivity.inc.php 2012-10-05 11:55:19 UTC (rev 
10123)
@@ -58,6 +58,8 @@
                                'start_date',
                                'end_date',
                                'responsible_user_id',
+                               'create_user',
+                               'create_date'
                                'update_user',
                                'update_date'
                        );
@@ -70,6 +72,8 @@
                                $this->marshal($activity->get_start_date(), 
'int'),
                                $this->marshal($activity->get_end_date(), 
'int'),
                                
$this->marshal($activity->get_responsible_user_id(), 'int'),
+                               $this->marshal($activity->get_create_user(), 
'int'),
+                               $this->marshal(strtotime('now'), 'int')
                                $this->marshal($activity->get_update_user(), 
'int'),
                                $this->marshal(strtotime('now'), 'int')
                        );
@@ -100,6 +104,8 @@
                                'start_date=' . 
$this->marshal($activity->get_start_date(), 'int'),
                                'end_date=' . 
$this->marshal($activity->get_end_date(), 'int'),
                                'responsible_user_id=' . 
$this->marshal($activity->get_responsible_user_id(), 'int'),
+                               'create_user=' . 
$this->marshal($activity->get_create_user(), 'int'),
+                               'create_date=' . 
$this->marshal(strtotime('now'), 'int')
                                'update_user=' . 
$this->marshal($activity->get_update_user(), 'int'),
                                'update_date=' . 
$this->marshal(strtotime('now'), 'int')
                        );
@@ -210,6 +216,8 @@
                                
$activity->set_start_date($this->unmarshal($this->db->f('start_date'), 'int'));
                                
$activity->set_end_date($this->unmarshal($this->db->f('end_date'), 'int'));
                                
$activity->set_responsible_user_id($this->unmarshal($this->db->f('responsible_user_id'),
 'int'));
+                               
$activity->set_create_date($this->unmarshal($this->db->f('create_date'), 
'int'));
+                               
$activity->set_create_user($this->unmarshal($this->db->f('create_user'), 
'int'));
                                
$activity->set_update_date($this->unmarshal($this->db->f('update_date'), 
'int'));
                                
$activity->set_update_user($this->unmarshal($this->db->f('update_user'), 
'int'));
                        }




reply via email to

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