Form.php
public static function button($name, $body, array $attributes = null)
    {
        // Set the input name
        $attributes['name'] = $name;

        return '<button'.Html::attributes($attributes).'>'.$body.'</button>';
    }
public static function button($name, $body, array $attributes = null)
    {
        // Set the input name
        $attributes['name'] = $name;

        return '<button'.Html::attributes($attributes).'>'.$body.'</button>';
    }
public static function button ( $ name , $ body , array $ attributes = null ) { // Set the input name $ attributes [ 'name' ] = $ name ; return '<button' . Html :: attributes ( $ attributes ) . '>' . $ body . '</button>' ; }
Creates a button form input.

echo Form::button('save', 'Save Profile', array('type' => 'submit'));

@param string $name       Input name
@param string $value      Input value
@param array  $attributes HTML attributes
@uses   Html::attributes
@return string
Creates a button form input .