UploadFile
class UploadFile
Properties
$temp_dir | |||
$save_dir | |||
$keyname | ファイルinputタグのname | ||
$width | 横サイズ | ||
$height | 縦サイズ | ||
$arrExt | 指定する拡張子 | ||
$temp_file | 保存されたファイル名 | ||
$save_file | DBから読み出したファイル名 | ||
$disp_name | 項目名 | ||
$size | 制限サイズ | ||
$necessary | 必須の場合:true | ||
$image | 画像の場合:true |
Methods
__construct($temp_dir, $save_dir)
No description
addFile($disp_name, $keyname, $arrExt, $size, $necessary = false, $width, $height, $image = true)
No description
makeThumb($src_file, $width, $height, $dst_file)
No description
makeTempFile($keyname, $rename = IMAGE_RENAME)
No description
makeTempDownFile($keyname = 'down_file')
No description
deleteFile($keyname)
No description
deleteKikakuFile($keyname)
No description
getTempFilePath(string $keyname)
No description
moveTempFile()
No description
moveTempDownFile()
No description
getHiddenFileList()
No description
setHiddenFileList($arrPOST)
No description
setHiddenKikakuFileList($arrPOST)
No description
getFormFileList($temp_url, $save_url, $real_size = false)
No description
getFormDownFile()
No description
getFormKikakuDownFile()
No description
getDBFileList()
No description
setDBFileList($arrVal)
No description
setDBDownFile($arrVal)
No description
setPostFileList($arrPost)
No description
setDBImageList($arrVal)
No description
deleteDBFile($arrVal)
No description
deleteDBDownFile($arrVal)
No description
checkExists($keyname = '')
No description
saveResizeImage($keyname, $to_w, $to_h)
No description
string
lfGetTmpImageName($rename, $keyname = '', $uploadfile = '')
一時保存用のファイル名を生成する
boolean
Details
at line 70
__construct($temp_dir, $save_dir)
at line 78
addFile($disp_name, $keyname, $arrExt, $size, $necessary = false, $width, $height, $image = true)
at line 94
makeThumb($src_file, $width, $height, $dst_file)
at line 113
makeTempFile($keyname, $rename = IMAGE_RENAME)
at line 160
makeTempDownFile($keyname = 'down_file')
at line 192
deleteFile($keyname)
at line 210
deleteKikakuFile($keyname)
at line 232
getTempFilePath(string $keyname)
at line 249
moveTempFile()
at line 269
moveTempDownFile()
at line 287
getHiddenFileList()
at line 305
setHiddenFileList($arrPOST)
at line 321
setHiddenKikakuFileList($arrPOST)
at line 338
getFormFileList($temp_url, $save_url, $real_size = false)
at line 379
getFormDownFile()
at line 392
getFormKikakuDownFile()
at line 409
getDBFileList()
at line 426
setDBFileList($arrVal)
at line 438
setDBDownFile($arrVal)
at line 446
setPostFileList($arrPost)
at line 456
setDBImageList($arrVal)
at line 468
deleteDBFile($arrVal)
at line 483
deleteDBDownFile($arrVal)
at line 495
checkExists($keyname = '')
at line 519
saveResizeImage($keyname, $to_w, $to_h)
at line 541
string
lfGetTmpImageName($rename, $keyname = '', $uploadfile = '')
一時保存用のファイル名を生成する
at line 563
boolean
checkUploadError(string $keyname, CheckError $objErr)
ファイルのアップロードのエラーを確認