function __construct() { // Call the parent constructor parent::__construct('account_access', DB_DEFAULT); // Set the Required $this->SetRequired(array('user_id', 'delegate_id', 'type')); }
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')); }
/** * Active Record Constructor * * @param string $table Table name * @param string $database Database name * @return bool */ public function __construct($table, $database) { parent::__construct($table, $database); }
function __construct() { // Call the parent constructor parent::__construct('menu_image_block', DB_DEFAULT); }
function __construct() { // Call the parent constructor parent::__construct('payment_confirm_detail', DB_DEFAULT); }
function __construct() { // Call the parent constructor parent::__construct('menuset_head_txt', DB_DEFAULT); }
function __construct() { // Call the parent constructor parent::__construct('services_title', DB_DEFAULT); }
/** * 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')); }
function __construct() { // Call the parent constructor parent::__construct('tkw_management', DB_DEFAULT); }