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