private function setField($paramName, $value = false, $isValid = null, $validators = null)
    {
        if (! isset($this->_fields[$paramName])) {
            $this->_fields[$paramName] = array(
                'originalValue' => (isset($this->_params[$paramName])) ? $this->_params[$paramName] : null,
                'value' => (isset($this->_params[$paramName])) ? $this->_params[$paramName] : null,
                'isValid' => true,
                'validators' => array()
            );
        }
        if ($value !== false) {
            $this->_fields[$paramName]['value'] = $value;
        }
        if ($isValid !== null) {
            $this->_fields[$paramName]['isValid'] = $this->_fields[$paramName]['isValid'] && $isValid;
        }
        if ($validators !== null) {
            $this->_fields[$paramName]['validators'] = $validators;
        }
    }
private function setField($paramName, $value = false, $isValid = null, $validators = null)
    {
        if (! isset($this->_fields[$paramName])) {
            $this->_fields[$paramName] = array(
                'originalValue' => (isset($this->_params[$paramName])) ? $this->_params[$paramName] : null,
                'value' => (isset($this->_params[$paramName])) ? $this->_params[$paramName] : null,
                'isValid' => true,
                'validators' => array()
            );
        }
        if ($value !== false) {
            $this->_fields[$paramName]['value'] = $value;
        }
        if ($isValid !== null) {
            $this->_fields[$paramName]['isValid'] = $this->_fields[$paramName]['isValid'] && $isValid;
        }
        if ($validators !== null) {
            $this->_fields[$paramName]['validators'] = $validators;
        }
    }
private function setField ( $ paramName , $ value = false , $ isValid = null , $ validators = null ) { if ( ! isset ( $ this -> _fields [ $ paramName ] ) ) { $ this -> _fields [ $ paramName ] = array ( 'originalValue' => ( isset ( $ this -> _params [ $ paramName ] ) ) ? $ this -> _params [ $ paramName ] : null , 'value' => ( isset ( $ this -> _params [ $ paramName ] ) ) ? $ this -> _params [ $ paramName ] : null , 'isValid' => true , 'validators' => array ( ) ) ; } if ( $ value !== false ) { $ this -> _fields [ $ paramName ] [ 'value' ] = $ value ; } if ( $ isValid !== null ) { $ this -> _fields [ $ paramName ] [ 'isValid' ] = $ this -> _fields [ $ paramName ] [ 'isValid' ] && $ isValid ; } if ( $ validators !== null ) { $ this -> _fields [ $ paramName ] [ 'validators' ] = $ validators ; } }
After filtering or validating, updates the field with additional data

@param mixed $paramName the name of the input parameter
@param mixed $value the value after filtering
@param boolean $isValid is the field valid
@param array $validators sets the given validators for this parameter

@return mixed
After filtering or validating updates the field with additional data