original_string: public function collectionItem(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCollectionItem();
          $this->validateBool('status');
          $this->validateWeight();
          $this->validateUrlCollectionItem();
          $this->validateCollectionCollectionItem();
          $this->validateEntityIdCollectionItem();
          $this->validateEntityCollectionItem();
          $this->validateData();
  
          $this->unsetSubmitted('update');
          $this->unsetSubmitted('collection');
  
          return $this->getResult();
      }
code: public function collectionItem(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCollectionItem();
          $this->validateBool('status');
          $this->validateWeight();
          $this->validateUrlCollectionItem();
          $this->validateCollectionCollectionItem();
          $this->validateEntityIdCollectionItem();
          $this->validateEntityCollectionItem();
          $this->validateData();
  
          $this->unsetSubmitted('update');
          $this->unsetSubmitted('collection');
  
          return $this->getResult();
      }
code_tokens: public function collectionItem ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateCollectionItem ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateWeight ( ) ; $ this -> validateUrlCollectionItem ( ) ; $ this -> validateCollectionCollectionItem ( ) ; $ this -> validateEntityIdCollectionItem ( ) ; $ this -> validateEntityCollectionItem ( ) ; $ this -> validateData ( ) ; $ this -> unsetSubmitted ( 'update' ) ; $ this -> unsetSubmitted ( 'collection' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full collection item entity validation
  @param array $submitted
  @param array $options
  @return boolean|array
docstring_tokens: Performs full collection item entity validation