public function collection(array &$submitted, array $options = array())
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateCollection();
        $this->validateBool('status');
        $this->validateTitle();
        $this->validateDescription();
        $this->validateTranslation();
        $this->validateStoreId();
        $this->validateTypeCollection();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function collection(array &$submitted, array $options = array())
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateCollection();
        $this->validateBool('status');
        $this->validateTitle();
        $this->validateDescription();
        $this->validateTranslation();
        $this->validateStoreId();
        $this->validateTypeCollection();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function collection ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateCollection ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateTitle ( ) ; $ this -> validateDescription ( ) ; $ this -> validateTranslation ( ) ; $ this -> validateStoreId ( ) ; $ this -> validateTypeCollection ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
Performs full collection data validation
@param array $submitted
@param array $options
@return boolean|array
Performs full collection data validation