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