Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 39 and 311]

LICENSE

Author: Rodney Rehm <rodney.rehm@medialize.de>
Author: Christian Kruse <cjk@wwwtech.de>
Copyright: Copyright © 2018 Teclib
License: MIT
File Size: 133 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

IOException:: (6 methods):
  __construct()
  notFound()
  notReadable()
  notWritable()
  readError()
  writeError()


Class: IOException  - X-Ref

__construct($path, $type = null)   X-Ref
Create new IOException

param: string $path Source of the problem
param: integer $type Type of the problem

notFound($path)   X-Ref
Create new FileNotFound-Exception

param: string $path Source of the problem
return: IOException new FileNotFound-Exception

notReadable($path)   X-Ref
Create new FileNotReadable-Exception

param: string $path Source of the problem
return: IOException new FileNotReadable-Exception

notWritable($path)   X-Ref
Create new FileNotWritable-Exception

param: string $path Source of the problem
return: IOException new FileNotWritable-Exception

readError($path)   X-Ref
Create new ReadError-Exception

param: string $path Source of the problem
return: IOException new ReadError-Exception

writeError($path)   X-Ref
Create new WriteError-Exception

param: string $path Source of the problem
return: IOException new WriteError-Exception