validators\FileValidator getSizeLimit()

getSizeLimit() public method

Returns the maximum size allowed for uploaded files.

This is determined based on four factors:

  • 'upload_max_filesize' in php.ini
  • 'post_max_size' in php.ini
  • 'MAX_FILE_SIZE' hidden field
  • $maxSize
public integer getSizeLimit ( )
return integer

The size limit for uploaded files.

doc_Yii
2016-10-30 17:13:42
Comments
Leave a Comment

Please login to continue.