コード例 #1
0
 public function __construct($params)
 {
     parent::__construct();
     if (!empty($params)) {
         $this->params = $params;
     }
 }
コード例 #2
0
ファイル: Demo.php プロジェクト: JianKongBao/AAPF
 function __construct()
 {
     parent::__construct();
     $this->rest = REST_Server::instance();
     $this->_table = 'common_account_info';
     $this->_primary = 'account_id';
 }
コード例 #3
0
 public function __construct($params = null)
 {
     parent::__construct();
     if (is_object($params) && !empty($params)) {
         $this->params = $params;
     } else {
         logDebugMessages("Cannot init object " . get_class());
     }
 }
コード例 #4
0
 public function __construct($params)
 {
     parent::__construct();
     if (!empty($params)) {
         $this->params = $params;
         $this->river = $this->setRiver();
         $this->allTrailAssigned = $this->setAllTrailsAssigned();
         $this->subSections = $this->setSubSections();
     }
 }
コード例 #5
0
ファイル: user.php プロジェクト: chenchengwork/Yaf.Scaffold
 function __construct()
 {
     parent::__construct();
     $this->_table = 'yaf_admin';
     $this->_primary = 'user_id';
 }
コード例 #6
0
 function __construct()
 {
     parent::__construct();
     $this->_table = 'yaf_scaffold_config';
     $this->_primary = 'cid';
 }
コード例 #7
0
 function __construct($table, $primary)
 {
     parent::__construct();
     $this->_table = $table;
     $this->_primary = $primary;
 }
コード例 #8
0
 function __construct()
 {
     parent::__construct();
     $config = Yaf_Registry::get("config")->get('yaf')->get('db')->get('master');
     $this->database = $config->get('dbname');
 }
コード例 #9
0
ファイル: marticle.php プロジェクト: AccuSudarmin/efind_api
 function __construct()
 {
     parent::__construct();
 }
コード例 #10
0
 public function __construct($data = null)
 {
     $this->_fields = array('SellerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'MWSAuthToken' => array('FieldValue' => null, 'FieldType' => 'string'), 'NextToken' => array('FieldValue' => null, 'FieldType' => 'string'));
     parent::__construct($data);
 }
コード例 #11
0
 public function __construct($params)
 {
     parent::__construct();
     $this->init($params);
 }
コード例 #12
0
ファイル: DBO.php プロジェクト: phpon/on
 public function __construct($model)
 {
     parent::__construct($model);
 }