Export::beforeValidate PHP Method

beforeValidate() public method

public beforeValidate ( ) : boolean
return boolean
    public function beforeValidate()
    {
        $settings = ['brands' => $this->brands, 'categories' => $this->categories, 'shop_name' => $this->shop_name, 'shop_company' => $this->shop_company, 'shop_url' => $this->shop_url, 'shop_platform' => $this->shop_platform, 'shop_version' => $this->shop_version, 'shop_agency' => $this->shop_agency, 'shop_email' => $this->shop_email, 'shop_cpa' => $this->shop_cpa];
        $this->settings = json_encode($settings);
        return parent::beforeValidate();
    }