Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 protected function beforeSave()
 {
     $this->checkIfUserExists($this->email);
     $this->createUserId();
     $this->createPassHash();
     parent::beforeSave();
 }
Exemplo n.º 3
0
 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();
 }
Exemplo n.º 4
0
 public function __construct($di)
 {
     $this->fields = array('cid', 'email', 'password', 'skey', 'name', 'surname', 'phone', 'region', 'city');
     parent::__construct($di);
 }
Exemplo n.º 5
0
 public function __construct($di)
 {
     $this->fields = array('nid', 'author', 'date', 'header', 'text', 'publicated', 'public_date');
     parent::__construct($di);
 }
Exemplo n.º 6
0
 public function __construct($di)
 {
     $this->fields = array('cid', 'amount', 'status', 'recipient_name', 'address', 'comment', 'create_date');
     parent::__construct($di);
 }
Exemplo n.º 7
0
 public function __construct($di)
 {
     $this->fields = array('uid', 'email', 'password', 'skey', 'name');
     parent::__construct($di);
 }
Exemplo n.º 8
0
 public function __construct($di)
 {
     parent::__construct($di);
 }