Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
think
File
checkSize
think\File::checkSize PHP Method
File Class Documentation
Exibir arquivo
Open project: top-think/framework
checkSize()
public
method
检测上传文件大小
public
checkSize
(
integer
$size
) :
boolean
$size
integer
最大大小
return
boolean
public function checkSize($size) { if ($this->getSize() > $size) { return false; } return true; }
File
__call
__construct
buildSaveName
check
checkExt
checkImg
checkMime
checkPath
checkSize
error
getError
getImageType
getInfo
getMime
getSaveName
hash
isTest
isValid
move
rule
setSaveName
setUploadInfo
validate