Exemple #1
0
 public function afterFind()
 {
     $settings = json_decode($this->settings);
     $this->brands = $settings->brands;
     $this->categories = $settings->categories;
     $this->shop_name = $settings->shop_name;
     $this->shop_company = $settings->shop_company;
     $this->shop_url = $settings->shop_url;
     $this->shop_platform = $settings->shop_platform;
     $this->shop_version = $settings->shop_version;
     $this->shop_agency = $settings->shop_agency;
     $this->shop_email = $settings->shop_email;
     $this->shop_cpa = $settings->shop_cpa;
     parent::afterFind();
 }