protected function validateEditStore()
    {
        $this->setSubmitted('store', null, false);
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_store);
        $this->setSubmittedBool('data.anonymous_checkout');

        foreach (array('email', 'phone', 'fax', 'map') as $field) {
            $this->setSubmittedArray("data.$field");
        }

        $this->validateComponent('store');

        return !$this->hasErrors();
    }
protected function validateEditStore()
    {
        $this->setSubmitted('store', null, false);
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_store);
        $this->setSubmittedBool('data.anonymous_checkout');

        foreach (array('email', 'phone', 'fax', 'map') as $field) {
            $this->setSubmittedArray("data.$field");
        }

        $this->validateComponent('store');

        return !$this->hasErrors();
    }
protected function validateEditStore ( ) { $ this -> setSubmitted ( 'store' , null , false ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_store ) ; $ this -> setSubmittedBool ( 'data.anonymous_checkout' ) ; foreach ( array ( 'email' , 'phone' , 'fax' , 'map' ) as $ field ) { $ this -> setSubmittedArray ( "data.$field" ) ; } $ this -> validateComponent ( 'store' ) ; return ! $ this -> hasErrors ( ) ; }
Validates a submitted store data
@return bool
Validates a submitted store data