Creates a hidden form input.
echo Form::hidden('csrf', $token);
string Core_Form::hidden( string $name [, string $value = null , array $attributes = null ] )
参数列表
参数 类型 描述 默认值 $name
string
Input name $value
string
Input value null $attributes
array
Html attributes null
string
public static function hidden($name, $value = null, array $attributes = null)
{
$attributes['type'] = 'hidden';
return Form::input($name, $value, $attributes);
}