コード例 #1
0
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('account_access', DB_DEFAULT);
     // Set the Required
     $this->SetRequired(array('user_id', 'delegate_id', 'type'));
 }
コード例 #2
0
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('action_log', DB_DEFAULT);
     // Set the Required
     $this->SetRequired(array('ip', 'user_agent', 'action', 'type'));
     // Set the options
     $this->SetOption('type', array('1' => 'Normal', '2' => 'Abnormal', '3' => 'Security'));
     $this->SetOption('viewed', array('0' => 'New', '1' => 'Viewed'));
 }
コード例 #3
0
ファイル: activerecord.php プロジェクト: greenanu/phpsimpl
 /**
  * Active Record Constructor
  * 
  * @param string $table Table name
  * @param string $database Database name
  * @return bool
  */
 public function __construct($table, $database)
 {
     parent::__construct($table, $database);
 }
コード例 #4
0
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('menu_image_block', DB_DEFAULT);
 }
コード例 #5
0
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('payment_confirm_detail', DB_DEFAULT);
 }
コード例 #6
0
ファイル: classes.php プロジェクト: nitikarn5990/food
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('menuset_head_txt', DB_DEFAULT);
 }
コード例 #7
0
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('services_title', DB_DEFAULT);
 }
コード例 #8
0
ファイル: classes.php プロジェクト: greenanu/phpsimpl
 /**
  * Class Constuctor
  * 
  * @param $data array
  * @return null
  */
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('post_tag', DB_DEFAULT);
     // Set the required
     $this->SetRequired(array('tag_id', 'post_id'));
 }
コード例 #9
0
ファイル: classes.php プロジェクト: nitikarn5990/takawa
 function __construct()
 {
     // Call the parent constructor
     parent::__construct('tkw_management', DB_DEFAULT);
 }