original_string: protected function validateEditCollection()
      {
          $this->setSubmitted('collection');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_collection);
  
          $this->validateComponent('collection');
  
          return !$this->hasErrors();
      }
code: protected function validateEditCollection()
      {
          $this->setSubmitted('collection');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_collection);
  
          $this->validateComponent('collection');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditCollection ( ) { $ this -> setSubmitted ( 'collection' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_collection ) ; $ this -> validateComponent ( 'collection' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a submitted collection
  @return bool
docstring_tokens: Validates a submitted collection