$_controller
$_controller : \Controller
Class DownloadComponent
doDownloadByUploadFileId(integer $uploadFileId, array $options = array()) : \CakeResponse|null
UploadFileのID指定でのダウンロード実行
integer | $uploadFileId | UploadFile ID |
array | $options | オプション field : ダウンロードのフィールド名, size: nullならオリジナル thumb, small, medium, big |
doDownloadByUploadFile(array $file, array $options = array()) : \CakeResponse|null
UploadFileのデータ指定でのダウンロード実行
array | $file | UploadFile data |
array | $options | オプション field : ダウンロードのフィールド名, size: nullならオリジナル thumb, small, medium, big |