Exemplo n.º 1
0
 /**
  * Get the maximum file size that is allowed for file uploads
  *
  * @return integer
  *
  * @deprecated Deprecated since Contao 4.0, to be removed in Contao 5.0.
  *             Use $this->objModel->getMaxUploadFileSize() instead.
  */
 protected function getMaxFileSize()
 {
     trigger_error('Using Form::getMaxFileSize() has been deprecated and will no longer work in Contao 5.0. Use $this->objModel->getMaxUploadFileSize() instead.', E_USER_DEPRECATED);
     return $this->objModel->getMaxUploadFileSize();
 }
Exemplo n.º 2
0
Arquivo: Form.php Projeto: Jobu/core
 /**
  * Get the maximum file size that is allowed for file uploads
  *
  * @return integer
  */
 protected function getMaxFileSize()
 {
     return $this->objModel->getMaxUploadFileSize();
     // Backwards compatibility
 }