|
OTServ binary file node representation. OTServ binary file node representation. This file extends OTS_Buffer class for nodes tree logic with siblings and childs. Located in /classes/OTS_FileNode.php [line 31] OTS_Buffer | --OTS_FileNodeAuthor(s):
Information Tags:
|
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From OTS_Buffer |
Inherited From OTS_Buffer
|
| OTS_FileNode | getChild() | Returs first child. |
| OTS_FileNode | getNext() | Returs next sibling. |
| int | getType() | Returs node type. |
| void | setChild() | Sets first child. |
| void | setNext() | Sets next sibling. |
| void | setType() | Sets node type. |
| void | __clone() | Creates clone of object. |
| mixed | __get() | Magic PHP5 method. |
| void | __set() | Magic PHP5 method. |
|
Returs first child.
Returs first child.
| Return: | Child node. |
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Returs next sibling.
Returs next sibling.
| Return: | Sibling node. |
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Returs node type.
Returs node type.
| Return: | Node type. |
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Sets first child.
Sets first child.
Parameters:| OTS_FileNode | $child: | Child node. |
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Sets next sibling.
Sets next sibling.
Parameters:| OTS_FileNode | $next: | Sibling node. |
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Sets node type.
Sets node type.
Parameters:| int | $type: | Node type. |
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Creates clone of object.
Creates clone of object. Creates complete tree copy by copying sibling and child nodes.
| Access: | public |
| Version: | 0.0.6 |
| Since: | 0.0.6 |
|
Magic PHP5 method.
Magic PHP5 method.
Parameters:| string | $name: | Property name. |
| Return: | Property value. |
| Access: | public |
| Version: | 0.1.2 |
| Version: | 0.0.6 |
| Throws: | E_OTS_OutOfBuffer When there is read attemp after end of stream. |
| Throws: | OutOfBoundsException For non-supported properties. |
| Since: | 0.0.6 |
| Since: | 0.1.0 |
|
Magic PHP5 method.
Magic PHP5 method.
Parameters:| string | $name: | Property name. |
| mixed | $value: | Property value. |
| Access: | public |
| Version: | 0.1.2 |
| Version: | 0.0.6 |
| Throws: | OutOfBoundsException For non-supported properties. |
| Since: | 0.1.0 |
| Since: | 0.0.6 |