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