Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
think
File
checkSize
think\File::checkSize PHP Méthode
File Class Documentation
Afficher le fichier
Open project: top-think/framework
checkSize()
public
méthode
检测上传文件大小
public
checkSize
(
integer
$size
) :
boolean
$size
integer
最大大小
Résultat
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