protected function validateEditCollectionItem()
    {
        $this->setSubmitted('collection_item');
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_collection_item);
        $this->setSubmitted('collection_id', $this->data_collection['collection_id']);

        $this->validateComponent('collection_item');
        return !$this->hasErrors();
    }
protected function validateEditCollectionItem()
    {
        $this->setSubmitted('collection_item');
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_collection_item);
        $this->setSubmitted('collection_id', $this->data_collection['collection_id']);

        $this->validateComponent('collection_item');
        return !$this->hasErrors();
    }
protected function validateEditCollectionItem ( ) { $ this -> setSubmitted ( 'collection_item' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_collection_item ) ; $ this -> setSubmitted ( 'collection_id' , $ this -> data_collection [ 'collection_id' ] ) ; $ this -> validateComponent ( 'collection_item' ) ; return ! $ this -> hasErrors ( ) ; }
Validates a submitted collection item
@return bool
Validates a submitted collection item