protected function htmlOptionsInput($disabled = false)
    {
        $options = ['id' => false];
        if (!empty($this->inputOptions) && is_array($this->inputOptions)) {
            $options = $this->inputOptions;
        }
        if ($disabled) {
            $options['disabled'] = true;
        }
        return $this->htmlOptionsSet('input', $options);
    }
protected function htmlOptionsInput($disabled = false)
    {
        $options = ['id' => false];
        if (!empty($this->inputOptions) && is_array($this->inputOptions)) {
            $options = $this->inputOptions;
        }
        if ($disabled) {
            $options['disabled'] = true;
        }
        return $this->htmlOptionsSet('input', $options);
    }
protected function htmlOptionsInput ( $ disabled = false ) { $ options = [ 'id' => false ] ; if ( ! empty ( $ this -> inputOptions ) && is_array ( $ this -> inputOptions ) ) { $ options = $ this -> inputOptions ; } if ( $ disabled ) { $ options [ 'disabled' ] = true ; } return $ this -> htmlOptionsSet ( 'input' , $ options ) ; }
Sets input text field HTML options.
@param boolean $disabled Whether this field should be disabled
@return array
Sets input text field HTML options .