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

        $this->validateStore();
        $this->validateBool('status');
        $this->validateDomainStore();
        $this->validateBasepathStore();
        $this->validateName();
        $this->validateDataStore();
        $this->validateImagesStore();
        $this->validateDefaultStore();

        $this->unsetSubmitted('update');

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

        $this->validateStore();
        $this->validateBool('status');
        $this->validateDomainStore();
        $this->validateBasepathStore();
        $this->validateName();
        $this->validateDataStore();
        $this->validateImagesStore();
        $this->validateDefaultStore();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function store ( array & $ submitted , array $ options ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateStore ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateDomainStore ( ) ; $ this -> validateBasepathStore ( ) ; $ this -> validateName ( ) ; $ this -> validateDataStore ( ) ; $ this -> validateImagesStore ( ) ; $ this -> validateDefaultStore ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
Performs store data validation
@param array $submitted
@param array $options
@return array|boolean
Performs store data validation