|
MediaWiki master
|
Read the directory of a Microsoft Compound File Binary file, a.k.a. More...
Static Public Member Functions | |
| static | readFile ( $fileName) |
| Read a file by name. | |
| static | readHandle ( $fileHandle) |
| Read from an open seekable handle. | |
Public Attributes | |
| const | ERROR_FILE_OPEN = 1 |
| const | ERROR_INVALID_FORMAT = 6 |
| const | ERROR_INVALID_SIGNATURE = 4 |
| const | ERROR_READ = 3 |
| const | ERROR_READ_PAST_END = 5 |
| const | ERROR_SEEK = 2 |
Read the directory of a Microsoft Compound File Binary file, a.k.a.
an OLE file, and detect the MIME type.
References:
Definition at line 37 of file MSCompoundFileReader.php.
|
static |
Read a file by name.
| string | $fileName | The full path to the file |
Definition at line 92 of file MSCompoundFileReader.php.
References Wikimedia\Mime\MSCompoundFileReader\ERROR_FILE_OPEN, and Wikimedia\Mime\MSCompoundFileReader\readHandle().
|
static |
Read from an open seekable handle.
| resource | $fileHandle |
Definition at line 116 of file MSCompoundFileReader.php.
Referenced by Wikimedia\Mime\MSCompoundFileReader\readFile().
| const Wikimedia\Mime\MSCompoundFileReader::ERROR_FILE_OPEN = 1 |
Definition at line 65 of file MSCompoundFileReader.php.
Referenced by Wikimedia\Mime\MSCompoundFileReader\readFile().
| const Wikimedia\Mime\MSCompoundFileReader::ERROR_INVALID_FORMAT = 6 |
Definition at line 70 of file MSCompoundFileReader.php.
| const Wikimedia\Mime\MSCompoundFileReader::ERROR_INVALID_SIGNATURE = 4 |
Definition at line 68 of file MSCompoundFileReader.php.
| const Wikimedia\Mime\MSCompoundFileReader::ERROR_READ = 3 |
Definition at line 67 of file MSCompoundFileReader.php.
| const Wikimedia\Mime\MSCompoundFileReader::ERROR_READ_PAST_END = 5 |
Definition at line 69 of file MSCompoundFileReader.php.
| const Wikimedia\Mime\MSCompoundFileReader::ERROR_SEEK = 2 |
Definition at line 66 of file MSCompoundFileReader.php.