Exemple #1
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_notes_content', 'content_id');
     $this->add('note_id');
     $this->add('content', null);
     $this->add('ts_modified', time());
 }
Exemple #2
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_notes_tags', 'tag_id');
     $this->add('tag_name');
     $this->add('user_id');
     $this->add('ts_created', time());
 }
Exemple #3
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_notes_order', 'order_id');
     $this->add('note_id');
     $this->add('fronthand');
     $this->add('backhand');
 }
Exemple #4
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_users', 'user_id');
     $this->add('username');
     $this->add('password');
     $this->add('safecode');
     $this->add('ts_created', time());
     $this->add('ts_last_login', null, self::TYPE_TIMESTAMP);
     //$this->_profile = new Profile_User($db);
 }
Exemple #5
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_notes', 'note_id');
     $this->add('user_id');
     $this->add('dueDate', null);
     $this->add('star', 0);
     $this->add('style', null);
     $this->add('ts_created', time());
     $this->join('tag', 'lds0019_notes_link_tags', 'note_id', 'note_id', 'tag_id');
     $this->join('category', 'lds0019_notes_link_categorys', 'note_id', 'note_id', 'category_id');
     $this->join('content', 'lds0019_notes_content', 'note_id', 'note_id', 'content');
     //$this->profile = new Profile_User($db);
     $this->_db = $db;
 }
Exemple #6
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_notes_link_tags', 'link_id');
     $this->add('note_id');
     $this->add('tag_id');
 }
Exemple #7
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_notes_link_categorys', 'link_id');
     $this->add('note_id');
     $this->add('category_id');
 }
Exemple #8
0
 public function __construct($db)
 {
     parent::__construct($db, 'lds0019_notes_categorys', 'category_id');
     $this->add('category_name');
     $this->add('ts_created', time());
 }