|
Universal OTServ binary formats reader. Universal OTServ binary formats reader. This class is general class that handle node-based binary OTServ files. It provides no file format-related logic, only loading nodes from files. To open given file format you need to use proper class like OTS_OTBMFile or OTS_ItemsList classes. This class is mostly usefull when you create own extensions for POT code. Located in /classes/OTS_FileLoader.php [line 33] Author(s):
Information Tags:
|
| static void | __set_state() | Magic PHP5 method. |
| void | loadFile() | Opens file. |
| void | setCacheDriver() | Sets cache handler. |
| void | __clone() | Creates clone of object. |
| void | __set() | Magic PHP5 method. |
| array | __sleep() | Magic PHP5 method. |
Cache handler.
Cache handler.
API Tags:| Access: | protected |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
Root node.
Root node.
API Tags:| Access: | protected |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Magic PHP5 method.
Magic PHP5 method. Allows object importing from var_export().
Parameters:| array | $properties: | List of object properties. |
| Access: | public |
| Version: | 0.0.6 |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
| Since: | 0.0.6 |
|
Opens file.
Opens file.
Parameters:| string | $file: | Filepath. |
| Access: | public |
| Version: | 0.1.3 |
| Version: | 0.0.6 |
| Throws: | E_OTS_FileLoaderError When error occurs during file operation. |
| Since: | 0.0.6 |
|
Sets cache handler.
Sets cache handler. You have to set cache driver before loading/saving any file in order to apply it to that file.
Parameters:| IOTS_FileCache | $cache: | Cache handler (leave this parameter if you want to unset caching). |
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Creates clone of object.
Creates clone of object. Copy of object needs to have different ID.
| Access: | public |
| Version: | 0.0.6 |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
| Since: | 0.0.6 |
|
Magic PHP5 method.
Magic PHP5 method.
Parameters:| string | $name: | Property name. |
| mixed | $value: | Property value. |
| Access: | public |
| Version: | 0.1.0 |
| Version: | 0.0.6 |
| Throws: | OutOfBoundsException For non-supported properties. |
| Since: | 0.1.0 |
| Since: | 0.0.6 |
|
Magic PHP5 method.
Magic PHP5 method. Allows object serialisation.
| Return: | List of properties that should be saved. |
| Access: | public |
| Version: | 0.0.6 |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
| Since: | 0.0.6 |
Escape another special byte.
Escape another special byte.
Information Tags:| Version: | 0.0.6 |
| Since: | 0.0.6 |
End of node.
End of node.
Information Tags:| Version: | 0.0.6 |
| Since: | 0.0.6 |
Start of node.
Start of node.
Information Tags:| Version: | 0.0.6 |
| Since: | 0.0.6 |