public function createInline($model = null, array $options = [])
    {
        $this->inline = true;
        $options = optionsParser($options)->delete('inline')->append('class', 'form-inline');

        return parent::create($model, $options->toArray());
    }
public function createInline($model = null, array $options = [])
    {
        $this->inline = true;
        $options = optionsParser($options)->delete('inline')->append('class', 'form-inline');

        return parent::create($model, $options->toArray());
    }
public function createInline ( $ model = null , array $ options = [ ] ) { $ this -> inline = true ; $ options = optionsParser ( $ options ) -> delete ( 'inline' ) -> append ( 'class' , 'form-inline' ) ; return parent :: create ( $ model , $ options -> toArray ( ) ) ; }
Returns an inline form element.

You can also create an inline form using the `create()` method with
the `inline` option.

Note that by default `createInline` doesn't display help blocks and
errors.
@param mixed $model The model name for which the form is being defined.
If `false` no model is used
@param array $options HTML attributes and options
@return string An formatted opening `<form>` tag
@uses $inline
Returns an inline form element .