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()); }
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()); }
public function __construct($db) { parent::__construct($db, 'lds0019_notes_order', 'order_id'); $this->add('note_id'); $this->add('fronthand'); $this->add('backhand'); }
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); }
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; }
public function __construct($db) { parent::__construct($db, 'lds0019_notes_link_tags', 'link_id'); $this->add('note_id'); $this->add('tag_id'); }
public function __construct($db) { parent::__construct($db, 'lds0019_notes_link_categorys', 'link_id'); $this->add('note_id'); $this->add('category_id'); }
public function __construct($db) { parent::__construct($db, 'lds0019_notes_categorys', 'category_id'); $this->add('category_name'); $this->add('ts_created', time()); }