public function getValue()
    {
        if (isset($this->value) && $this->value !== null) {
            return $this->value;
        } elseif (isset($this->element['default'])) {
            return $this->element['default'];
        } else {
            return '';
        }
    }
public function getValue()
    {
        if (isset($this->value) && $this->value !== null) {
            return $this->value;
        } elseif (isset($this->element['default'])) {
            return $this->element['default'];
        } else {
            return '';
        }
    }
public function getValue ( ) { if ( isset ( $ this -> value ) && $ this -> value !== null ) { return $ this -> value ; } elseif ( isset ( $ this -> element [ 'default' ] ) ) { return $ this -> element [ 'default' ] ; } else { return '' ; } }
getValue function.

Return the value of the current input element. If not value is set in
`$this->value`, return the default value (from the schema data), if any.

@return string The input current value
getValue function .