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

        $this->validatePage();
        $this->validateBool('status');
        $this->validateBool('blog_post');
        $this->validateTitle();
        $this->validateDescriptionPage();
        $this->validateMetaTitle();
        $this->validateMetaDescription();
        $this->validateTranslation();
        $this->validateStoreId();
        $this->validateCategoryPage();
        $this->validateUserId(false);
        $this->validateImages();
        $this->validateAlias();
        $this->validateUploadImages('page');

        $this->unsetSubmitted('update');

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

        $this->validatePage();
        $this->validateBool('status');
        $this->validateBool('blog_post');
        $this->validateTitle();
        $this->validateDescriptionPage();
        $this->validateMetaTitle();
        $this->validateMetaDescription();
        $this->validateTranslation();
        $this->validateStoreId();
        $this->validateCategoryPage();
        $this->validateUserId(false);
        $this->validateImages();
        $this->validateAlias();
        $this->validateUploadImages('page');

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function page ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validatePage ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateBool ( 'blog_post' ) ; $ this -> validateTitle ( ) ; $ this -> validateDescriptionPage ( ) ; $ this -> validateMetaTitle ( ) ; $ this -> validateMetaDescription ( ) ; $ this -> validateTranslation ( ) ; $ this -> validateStoreId ( ) ; $ this -> validateCategoryPage ( ) ; $ this -> validateUserId ( false ) ; $ this -> validateImages ( ) ; $ this -> validateAlias ( ) ; $ this -> validateUploadImages ( 'page' ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
Performs page data validation
@param array $submitted
@param array $options
@return array|boolean
Performs page data validation