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