Returns all uploaded files for the given model attribute.
public static getInstances ( |
||
$model | the data model | |
$attribute | string | the attribute name. The attribute name may contain array indexes for tabular file uploading, e.g. '[1]file'. |
return | array of UploadedFile objects. Empty array is returned if no available file was found for the given attribute. |