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();
    }
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();
    }
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 ( ) ; }
Performs full collection item entity validation
@param array $submitted
@param array $options
@return boolean|array
Performs full collection item entity validation