예제 #1
0
 public function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     // Set data types
     $this->data_types = array('name' => 'string', 'slug' => 'string');
 }
예제 #2
0
 public function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     // Set data types
     $this->data_types = array('tag_id' => 'numeric', 'users_to_mark_id' => 'numeric', 'user_id' => 'numeric');
 }
예제 #3
0
 public function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     // Set data types
     $this->data_types = array('title' => 'string', 'url' => 'url', 'url_key' => 'md5', 'embed' => 'string', 'created_on' => 'datetime');
 }
예제 #4
0
 public function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     // Set data types
     $this->data_types = array('smart_label_id' => 'numeric', 'user_id' => 'numeric', 'name' => 'string', 'domain' => 'domain', 'path' => 'string', 'smart_key' => 'md5', 'active' => 'bool', 'slug' => 'string', 'created_on' => 'datetime');
     // Set a different read method
     $this->read_method = 'readComplete';
 }
예제 #5
0
 public function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     // Set data types
     $this->data_types = array('mark_id' => 'numeric', 'user_id' => 'numeric', 'label_id' => 'numeric', 'notes' => 'string', 'active' => 'numeric', 'created_on' => 'datetime', 'archived_on' => 'datetime', 'title' => 'string', 'url' => 'url');
     // Set a different read method
     $this->read_method = 'readComplete';
 }
예제 #6
0
 public function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->data_types = array('user_id' => 'numeric', 'email' => 'email', 'password' => 'password', 'active' => 'bool', 'admin' => 'bool', 'created_on' => 'datetime');
 }
예제 #7
0
 public function __construct()
 {
     // Call the Model constructor
     parent::__construct();
     $this->data_types = array('token_id' => 'numeric', 'user_id' => 'numeric', 'token_type' => 'string', 'token_value' => 'string', 'created_on' => 'datetime', 'valid_until' => 'datetime', 'active' => 'bool', 'used_on' => 'datetime');
 }