Bootstrapper\Form::inline PHP Method

inline() public method

Opens an inline form
public inline ( array $attributes = [] ) : string
$attributes array The attributes of the array
return string
    public function inline($attributes = [])
    {
        $attributes['class'] = isset($attributes['class']) ? self::FORM_INLINE . ' ' . $attributes['class'] : self::FORM_INLINE;
        return $this->open($attributes);
    }

Usage Example

Example #1
0
 /**
  * Opens an inline form
  *
  * @param array $attributes The attributes of the array
  * @return string 
  * @static 
  */
 public static function inline($attributes = array())
 {
     return \Bootstrapper\Form::inline($attributes);
 }