original_string: function _ruleCheckMaxFileSize($elementValue, $maxSize)
      {
          if (!empty($elementValue['error']) && 
              (UPLOAD_ERR_FORM_SIZE == $elementValue['error'] || UPLOAD_ERR_INI_SIZE == $elementValue['error'])) {
              return false;
          }
          if (!HTML_QuickForm_file::_ruleIsUploadedFile($elementValue)) {
              return true;
          }
          return ($maxSize >= @filesize($elementValue['tmp_name']));
      }
code: function _ruleCheckMaxFileSize($elementValue, $maxSize)
      {
          if (!empty($elementValue['error']) && 
              (UPLOAD_ERR_FORM_SIZE == $elementValue['error'] || UPLOAD_ERR_INI_SIZE == $elementValue['error'])) {
              return false;
          }
          if (!HTML_QuickForm_file::_ruleIsUploadedFile($elementValue)) {
              return true;
          }
          return ($maxSize >= @filesize($elementValue['tmp_name']));
      }
code_tokens: function _ruleCheckMaxFileSize ( $ elementValue , $ maxSize ) { if ( ! empty ( $ elementValue [ 'error' ] ) && ( UPLOAD_ERR_FORM_SIZE == $ elementValue [ 'error' ] || UPLOAD_ERR_INI_SIZE == $ elementValue [ 'error' ] ) ) { return false ; } if ( ! HTML_QuickForm_file :: _ruleIsUploadedFile ( $ elementValue ) ) { return true ; } return ( $ maxSize >= @ filesize ( $ elementValue [ 'tmp_name' ] ) ) ; }
docstring: Checks that the file does not exceed the max file size
  
  @param     array     Uploaded file info (from $_FILES)
  @param     int       Max file size
  @access    private
  @return    bool      true if filesize is lower than maxsize, false otherwise
docstring_tokens: Checks that the file does not exceed the max file size