예제 #1
0
 public function __construct($id)
 {
     parent::__construct(eod::DB_TABLE_NAME, eod::DB_UNIQUE_ID);
     $this->set_variable(eod::DB_UNIQUE_ID, $id);
     if (!$this->load()) {
         // doesn't exist, create a new one with yesterdays date.
         $yesterday = date('Y-m-d H:i:s', time() - 60 * 60 * 24);
         $this->set_variable('eod_date', $yesterday);
         $this->createNew();
     }
 }
 public function __construct()
 {
     parent::__construct(ticker_history::DB_TABLE_NAME, ticker_history::DB_UNIQUE_ID);
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct(highlights::DB_TABLE_NAME, highlights::DB_UNIQUE_ID);
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct(user::DB_TABLE_NAME, user::DB_UNIQUE_ID);
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct(referral::DB_TABLE_NAME, referral::DB_UNIQUE_ID);
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct(admins::DB_TABLE_NAME, admins::DB_UNIQUE_ID);
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct(authaccess::DB_TABLE_NAME, authaccess::DB_UNIQUE_ID);
 }
예제 #8
0
 public function __construct()
 {
     parent::__construct(watchlist::DB_TABLE_NAME, watchlist::DB_UNIQUE_ID);
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct(holdings::DB_TABLE_NAME, holdings::DB_UNIQUE_ID);
 }
 public function __construct()
 {
     parent::__construct(paypal_transaction::DB_TABLE_NAME, paypal_transaction::DB_UNIQUE_ID);
 }
예제 #11
0
 public function __construct()
 {
     parent::__construct(moodhistory::DB_TABLE_NAME, moodhistory::DB_UNIQUE_ID);
 }
예제 #12
0
 public function __construct()
 {
     parent::__construct(transactions::DB_TABLE_NAME, transactions::DB_UNIQUE_ID);
 }
예제 #13
0
 public function __construct()
 {
     parent::__construct(crew::DB_TABLE_NAME, crew::DB_UNIQUE_ID);
 }