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