MediaWiki REL1_40
|
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 34 of file MSCompoundFileReader.php.
|
static |
Read a file by name.
string | $fileName | The full path to the file |
Definition at line 79 of file MSCompoundFileReader.php.
References ERROR_FILE_OPEN, and readHandle().
|
static |
Read from an open seekable handle.
resource | $fileHandle |
Definition at line 103 of file MSCompoundFileReader.php.
Referenced by readFile().
const MSCompoundFileReader::ERROR_FILE_OPEN = 1 |
Definition at line 52 of file MSCompoundFileReader.php.
Referenced by readFile().
const MSCompoundFileReader::ERROR_INVALID_FORMAT = 6 |
Definition at line 57 of file MSCompoundFileReader.php.
const MSCompoundFileReader::ERROR_INVALID_SIGNATURE = 4 |
Definition at line 55 of file MSCompoundFileReader.php.
const MSCompoundFileReader::ERROR_READ = 3 |
Definition at line 54 of file MSCompoundFileReader.php.
const MSCompoundFileReader::ERROR_READ_PAST_END = 5 |
Definition at line 56 of file MSCompoundFileReader.php.
const MSCompoundFileReader::ERROR_SEEK = 2 |
Definition at line 53 of file MSCompoundFileReader.php.