예제 #1
0
 /**
  * Constructor
  *
  * @param string $id ID
  * @param string $table Table
  * @param string $ds Datasource
  */
 public function __construct($id = false, $table = null, $ds = null)
 {
     parent::__construct($id, $table, $ds);
     //validation for cms updation
     //$this->virtualFields  =  array('ron_total' => "SELECT SUM(profit) FROM `transactions` WHERE `completed` = '1' AND `currency` = 'RON' AND `employee_id`= Employee.id ",
     //		'euro_total' => "SELECT SUM(profit) FROM `transactions` WHERE `completed` = '1' AND `currency` = 'EURO' AND `employee_id`= Employee.id "
     //		);
 }
예제 #2
0
 /**
  * Constructor
  *
  * @param string $id ID
  * @param string $table Table
  * @param string $ds Datasource
  */
 public function __construct($id = false, $table = null, $ds = null)
 {
     parent::__construct($id, $table, $ds);
     //validation for cms updation
 }
예제 #3
0
 /**
  * Constructor
  *
  * @param string $id ID
  * @param string $table Table
  * @param string $ds Datasource
  */
 public function __construct($id = false, $table = null, $ds = null)
 {
     parent::__construct($id, $table, $ds);
     //validation for cms updation
     $this->virtualFields = array();
 }
예제 #4
0
 /**
  * Constructor
  *
  * @param string $id ID
  * @param string $table Table
  * @param string $ds Datasource
  */
 public function __construct($id = false, $table = null, $ds = null)
 {
     parent::__construct($id, $table, $ds);
 }