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

        $this->validateFieldValue();
        $this->validateTitle();
        $this->validateWeight();
        $this->validateTranslation();
        $this->validateFieldFieldValue();
        $this->validateColorFieldValue();
        $this->validateUploadImages('field_value');

        $this->unsetSubmitted('update');
        $this->unsetSubmitted('field');

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

        $this->validateFieldValue();
        $this->validateTitle();
        $this->validateWeight();
        $this->validateTranslation();
        $this->validateFieldFieldValue();
        $this->validateColorFieldValue();
        $this->validateUploadImages('field_value');

        $this->unsetSubmitted('update');
        $this->unsetSubmitted('field');

        return $this->getResult();
    }
public function fieldValue ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateFieldValue ( ) ; $ this -> validateTitle ( ) ; $ this -> validateWeight ( ) ; $ this -> validateTranslation ( ) ; $ this -> validateFieldFieldValue ( ) ; $ this -> validateColorFieldValue ( ) ; $ this -> validateUploadImages ( 'field_value' ) ; $ this -> unsetSubmitted ( 'update' ) ; $ this -> unsetSubmitted ( 'field' ) ; return $ this -> getResult ( ) ; }
Performs full field value data validation
@param array $submitted
@param array $options
@return boolean|array
Performs full field value data validation