上传者: 42134051
|
上传时间: 2021-06-20 21:03:27
|
文件大小: 6KB
|
文件类型: ZIP
文件上传动作
用法
// add action to controller
public function actions()
{
return array(
// ...
'upload' =>array(
'class' => 'ext.yiiext.actions.fileUpload.EFileUploadAction' ,
// The data model which contains file attribute with validation rules.
'model' => null ,
// The model attribute.
'attribute' => null ,
// The input field name. This must be resolve from model and attribute.