original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Validates a submitted store data
  @return bool
docstring_tokens: Validates a submitted store data