选择语言 :

 Core_Form::submit

Creates a submit form input.

 echo Form::submit(null, 'Login');
string Core_Form::submit( string $name , string $value [, array $attributes = null ] )
uses
Form::input

参数列表

参数 类型 描述 默认值
$name string Input name
$value string Input value
$attributes array Html attributes null
返回值
  • string
File: ./core/classes/form.class.php
public static function submit($name, $value, array $attributes = null)
{
    $attributes['type'] = 'submit';

    return Form::input($name, $value, $attributes);
}