コード例 #1
0
ファイル: Db.class.php プロジェクト: godruoyi/portal
 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();
 }
コード例 #2
0
 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
ファイル: Materials.php プロジェクト: vyrus/remote-edu
 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
ファイル: Messages.php プロジェクト: vyrus/remote-edu
 public function __construct()
 {
     parent::__construct();
     $user = Model_User::create();
     $udata = (object) $user->getAuth();
     $this->userId = $udata->user_id;
     $this->userRole = $udata->role;
 }
コード例 #5
0
ファイル: forum.php プロジェクト: nellka/numiz-new
 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
ファイル: Pgdb.class.php プロジェクト: godruoyi/portal
 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
ファイル: shopcoins.php プロジェクト: nellka/numiz-new
 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
ファイル: Atype.php プロジェクト: baowzh/renfangbaosong
 public function __construct()
 {
     parent::__construct();
 }
コード例 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('Shipments');
 }
コード例 #10
0
ファイル: subscribe.php プロジェクト: nellka/numiz-new
 public function __construct($db, $user_id = 0)
 {
     parent::__construct($db);
     $this->user_id = $user_id;
 }
コード例 #11
0
ファイル: price.php プロジェクト: nellka/numiz-new
 public function __construct($db)
 {
     parent::__construct($db);
 }
コード例 #12
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('HelpMessages');
 }
コード例 #13
0
 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
ファイル: Reports.php プロジェクト: uppaljs/pakistan-vlmis-v2
 public function __construct()
 {
     parent::__construct();
     // $this->_table = $this->_em->getRepository('Reports');
 }
コード例 #16
0
 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
ファイル: catalognew.php プロジェクト: nellka/numiz-new
 public function __construct($db)
 {
     parent::__construct($db);
     $this->materialtype = 1;
 }
コード例 #21
0
ファイル: Test.php プロジェクト: vyrus/remote-edu
 function __construct()
 {
     parent::__construct();
     $this->attachObserver(Model_ControlWork::create());
 }
コード例 #22
0
 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');
 }
コード例 #25
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('PlacementLocations');
 }
コード例 #26
0
ファイル: orderdetails.php プロジェクト: nellka/numiz-new
 public function __construct($db, $shopcoinsorder = 0)
 {
     parent::__construct($db);
     $this->shopcoinsorder = $shopcoinsorder;
 }
コード例 #27
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('CcmTransferHistory');
 }
コード例 #28
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('ColdChain');
 }
コード例 #29
0
 public function __construct()
 {
     parent::__construct();
     $this->_table = $this->_em->getRepository('CampaignReadiness');
 }
コード例 #30
0
ファイル: order.php プロジェクト: nellka/numiz-new
 public function __construct($db, $shopcoinsorder = 0, $user_id = 0)
 {
     parent::__construct($db);
     $this->shopcoinsorder = $shopcoinsorder;
     $this->user_id = $user_id;
 }