public function setMaxFileSize($value) { $this->_maxFileSize = TPropertyValue::ensureInteger($value); if ($this->_maxFileSize <= 0) { throw new TInvalidDataValueException('filelogroute_maxfilesize_invalid'); } }