Пример #1
0
 public function __construct($table = NULL, $db_zone_name = NULL)
 {
     parent::__construct();
     $this->_table = $table;
     $this->_db_zone_name = $db_zone_name;
     $this->_sql_maker = Lib_PDOSqlMaker::getInstance();
 }
 function __construct($message = '', $is_success = false, $model = null, $models = null)
 {
     parent::__construct();
     $this->Message = $message;
     $this->IsSuccess = $is_success;
     $this->Model = $model;
     $this->Models = $models;
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     //$this->storage = new Storage ('../private/materials');
     $this->storage = Resources::getInstance()->materials_storage;
     $this->attachObserver(Model_ControlWork::create());
     $this->_checkRightsObject = Model_CheckRigths::create();
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     $user = Model_User::create();
     $udata = (object) $user->getAuth();
     $this->userId = $udata->user_id;
     $this->userRole = $udata->role;
 }
Пример #5
0
 function __construct($db, $user_id = 0)
 {
     parent::__construct($db, $user_id);
     /*$db['driver_options']  = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES "utf8"');
     		$this->db = Zend_Db::factory('PDO_MYSQL', $db);
     	 	$this->db->query("SET names 'utf8'");	 
     	 	$this->user_id = $user_id;*/
 }
Пример #6
0
 public function __construct($table = NULL, $db_zone_name = NULL, $data_type = NULL, $debug = FALSE)
 {
     parent::__construct();
     $this->_table = $table;
     $this->_debug = $debug;
     $this->_db_zone_name = $db_zone_name;
     $this->_sql_maker = Lib_PDOPgsqlMaker::getInstance();
     $this->_data_type = $data_type;
 }
Пример #7
0
 public function __construct($db, $user_id = 0, $nocheck = 0)
 {
     parent::__construct($db);
     $this->user_id = $user_id;
     $this->shortshow = 0;
     $this->nocheck = $nocheck;
     $this->materialtype = 1;
     $this->mycoins = 0;
     $this->categoty_type = self::BASE;
     $this->arraynewcoins = array(1 => date('Y') - 2, 2 => date('Y') - 1, 3 => date('Y'));
 }
Пример #8
0
 public function __construct()
 {
     parent::__construct();
 }
Пример #9
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('Shipments');
 }
Пример #10
0
 public function __construct($db, $user_id = 0)
 {
     parent::__construct($db);
     $this->user_id = $user_id;
 }
Пример #11
0
 public function __construct($db)
 {
     parent::__construct($db);
 }
Пример #12
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('HelpMessages');
 }
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('CcmEquipmentTypes');
 }
Пример #14
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('GatepassMaster');
 }
Пример #15
0
 public function __construct()
 {
     parent::__construct();
     // $this->_table = $this->_em->getRepository('Reports');
 }
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('PhysicalStockTakingDetail');
 }
Пример #17
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('CcmVehicles');
 }
Пример #18
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('ItemPackSizes');
 }
Пример #19
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('Warehouses');
 }
Пример #20
0
 public function __construct($db)
 {
     parent::__construct($db);
     $this->materialtype = 1;
 }
Пример #21
0
 function __construct()
 {
     parent::__construct();
     $this->attachObserver(Model_ControlWork::create());
 }
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('PipelineConsignments');
 }
Пример #23
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('ListDetail');
 }
Пример #24
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('Stakeholders');
 }
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('PlacementLocations');
 }
Пример #26
0
 public function __construct($db, $shopcoinsorder = 0)
 {
     parent::__construct($db);
     $this->shopcoinsorder = $shopcoinsorder;
 }
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('CcmTransferHistory');
 }
Пример #28
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('ColdChain');
 }
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('CampaignReadiness');
 }
Пример #30
0
 public function __construct($db, $shopcoinsorder = 0, $user_id = 0)
 {
     parent::__construct($db);
     $this->shopcoinsorder = $shopcoinsorder;
     $this->user_id = $user_id;
 }