
Public Member Functions | |
| close () | |
| contents () | |
| eof () | |
| FileWrapper ($url, &$info) | |
| open ($mode= 'r') | |
| read ($len=8192) | |
| & | wrapper ($url) |
TODO:
Definition at line 23 of file FileWrapper.inc.php.
| FileWrapper.close | ( | ) |
Close the file.
Reimplemented in FTPFileWrapper.
Definition at line 75 of file FileWrapper.inc.php.
Referenced by contents(), and HTTPFileWrapper.open().
| FileWrapper.contents | ( | ) |
| FileWrapper.eof | ( | ) |
Check for end-of-file.
Definition at line 93 of file FileWrapper.inc.php.
Referenced by contents().
| FileWrapper.FileWrapper | ( | $ | url, | |
| &$ | info | |||
| ) |
Constructor.
| $url | string | |
| $info | array |
Definition at line 39 of file FileWrapper.inc.php.
Referenced by wrapper().
| FileWrapper.open | ( | $ | mode = 'r' |
) |
Open the file.
| $mode | string only 'r' (read-only) is currently supported |
Reimplemented in HTTPFileWrapper, and FTPFileWrapper.
Definition at line 66 of file FileWrapper.inc.php.
Referenced by contents().
| FileWrapper.read | ( | $ | len = 8192 |
) |
Read from the file.
| $len | int |
Definition at line 85 of file FileWrapper.inc.php.
Referenced by contents().
| & FileWrapper.wrapper | ( | $ | url | ) |
Return instance of a class for reading the specified URL.
| $url | string |
Definition at line 107 of file FileWrapper.inc.php.
References FileWrapper(), and Config.getVar().
Referenced by LanguageAction.downloadLocale(), HTTPFileWrapper.open(), XMLParser.parse(), and XMLParser.parseStruct().
1.5.6