function __construct() { $this->pk = 'locationID'; parent::__construct(); $this->setFilter(); $this->setLimit(); }
function fetchGrouped() { $this->setSort('metas.sort'); $this->index = 'schemaName'; $this->dbWhereVars(); return parent::fetchGrouped(); }
function add() { $this->usersID = $this->user->userID(); $this->createdAt = date('Y-m-d H:i:s'); $this->status = 'new'; parent::add(); }
function delete() { $row = $this->get(); $att = $this->formatAttachments($row->attachments); $this->deleteTmpMedia($att); parent::delete(); }
function fetchPhoneJSON() { $this->setSort('userMetas.sort'); // $this->db->select('clientMetaID as entityID'); $this->schemaName = 'phone'; $result = parent::fetch(); return json_encode($result); }
function add() { $this->postToVar(); if ($this->name and !$this->billingName) { $this->billingName = $this->name; } parent::add(); }
function __construct() { $this->pk = 'cartID'; parent::__construct(); }
function __construct() { $this->pk = 'orderProductID'; parent::__construct(); }
function __construct() { $this->pk = 'supplierAddressID'; parent::__construct(); }
function __construct() { $this->pk = 'userPrefID'; parent::__construct(); }
private function getOne() { $this->db->select('clients.*'); $this->db->join('clients', 'clientID = clientsID', 'left outer'); return reset(parent::fetch()); }
function fetch() { $this->setSort('page_uri'); return parent::fetch(); }
function __construct() { $this->pk = 'clientAddressID'; parent::__construct(); }
function __construct() { $this->pk = 'chargeoutID'; parent::__construct(); }
function __construct() { $this->pk = 'supplierMetaID'; parent::__construct(); }
function __construct() { $this->pk = 'supplierFreightID'; parent::__construct(); }
function add() { $this->passwords_match(); parent::add(); }