コード例 #1
0
ファイル: Basket.php プロジェクト: Comrada/autopoisk.pro
 public function __construct($di)
 {
     $this->fields = array('brand', 'article', 'name', 'quantity', 'price', 'delivery');
     $this->_session = $di->get('session');
     parent::__construct($di);
     $this->basket = is_array($this->_session->getData('basket')) ? $this->_session->getData('basket') : array();
 }
コード例 #2
0
 protected function beforeSave()
 {
     $this->checkIfUserExists($this->email);
     $this->createUserId();
     $this->createPassHash();
     parent::beforeSave();
 }
コード例 #3
0
ファイル: Search.php プロジェクト: Comrada/autopoisk.pro
 public function __construct($di)
 {
     parent::__construct($di);
     $this->fields = array("GroupId", "PriceGroup", "MakeLogo", "MakeName", "DetailNum", "NewDetailNum", "DetailNameRus", "PriceLogo", "DestinationLogo", "PriceCountry", "LotQuantity", "Quantity", "DDPercent", "ADDays", "DeliverTimeGuaranteed", "ResultPrice");
     $this->raw_search_data = array();
     $this->originals = array();
     $this->replacements = array();
     $this->analogs = array();
     $this->detail_parts = array();
     $this->part_of_detail = array();
     $this->ready_data = array();
 }
コード例 #4
0
ファイル: Clients.php プロジェクト: Comrada/autopoisk.pro
 public function __construct($di)
 {
     $this->fields = array('cid', 'email', 'password', 'skey', 'name', 'surname', 'phone', 'region', 'city');
     parent::__construct($di);
 }
コード例 #5
0
ファイル: News.php プロジェクト: Comrada/autopoisk.pro
 public function __construct($di)
 {
     $this->fields = array('nid', 'author', 'date', 'header', 'text', 'publicated', 'public_date');
     parent::__construct($di);
 }
コード例 #6
0
ファイル: Orders.php プロジェクト: Comrada/autopoisk.pro
 public function __construct($di)
 {
     $this->fields = array('cid', 'amount', 'status', 'recipient_name', 'address', 'comment', 'create_date');
     parent::__construct($di);
 }
コード例 #7
0
ファイル: Admins.php プロジェクト: Comrada/autopoisk.pro
 public function __construct($di)
 {
     $this->fields = array('uid', 'email', 'password', 'skey', 'name');
     parent::__construct($di);
 }
コード例 #8
0
ファイル: Geo.php プロジェクト: Comrada/autopoisk.pro
 public function __construct($di)
 {
     parent::__construct($di);
 }