public function getUserValue()
    {
        if (null == $this->is_valid) {
            $this->validate();
        }
        if (null !== $this->user_value && $this->is_valid) {
            if ('' === $this->user_value && true === $this->null_on_empty) {
                return null;
            }
            return $this->user_value;
        } else {
            return '';
        }
    }
public function getUserValue()
    {
        if (null == $this->is_valid) {
            $this->validate();
        }
        if (null !== $this->user_value && $this->is_valid) {
            if ('' === $this->user_value && true === $this->null_on_empty) {
                return null;
            }
            return $this->user_value;
        } else {
            return '';
        }
    }
public function getUserValue ( ) { if ( null == $ this -> is_valid ) { $ this -> validate ( ) ; } if ( null !== $ this -> user_value && $ this -> is_valid ) { if ( '' === $ this -> user_value && true === $ this -> null_on_empty ) { return null ; } return $ this -> user_value ; } else { return '' ; } }
Get the user set value, if valid.

@return mixed
Get the user set value if valid .