【文件属性】:
文件名称:file-upload-action:文件上传处理操作
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-20 17:15:07
PHP
文件上传动作
用法
// 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.