OTS_SpellsList __construct(
string
$file
)
|
|
Loads spells list.
Loads spells list.
Parameters:
|
string |
$file: |
Spells file name. |
API Tags:
Information Tags:
| Version: | 0.1.0 |
| Throws: | DOMException On DOM operation error. |
| Since: | 0.1.0 |
Number of all loaded spells.
Number of all loaded spells.
API Tags:
| Return: | Amount of all spells. |
| Access: | public |
Information Tags:
| Version: | 0.1.5 |
| Version: | 0.1.0 |
| Since: | 0.1.0 |
| Since: | 0.1.5 |
Implementation of:
- Countable::count
Returns given conjure spell.
Returns given conjure spell.
Parameters:
|
string |
$name: |
Spell name. |
API Tags:
| Return: | Conjure spell wrapper. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.1.0 |
| Throws: | OutOfBoundsException If conjure does not exist. |
| Since: | 0.1.0 |
Returns list of conjure spells.
Returns list of conjure spells.
API Tags:
| Return: | List of conjure spells names. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Since: | 0.1.0 |
Returns given instant spell.
Returns given instant spell.
Parameters:
|
string |
$name: |
Spell name. |
API Tags:
| Return: | Instant spell wrapper. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.1.0 |
| Throws: | OutOfBoundsException If instant does not exist. |
| Since: | 0.1.0 |
Returns list of instants.
Returns list of instants.
API Tags:
| Return: | List of instant spells names. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Since: | 0.1.0 |
AppendIterator getIterator(
)
|
|
Iterator for all spells.
Iterator for all spells.
Returned object will continousely iterate through all kind of spells.
API Tags:
| Return: | Iterator for all spells. |
| Access: | public |
Information Tags:
| Version: | 0.1.5 |
| Version: | 0.1.0 |
| Since: | 0.1.0 |
| Since: | 0.1.5 |
Implementation of:
- IteratorAggregate::getIterator
Returns given rune spell.
Returns given rune spell.
Parameters:
API Tags:
| Return: | Rune spell wrapper. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.1.0 |
| Throws: | OutOfBoundsException If rune does not exist. |
| Since: | 0.1.0 |
Returns list of runes.
Returns list of runes.
API Tags:
| Return: | List of rune names. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Since: | 0.1.0 |
bool hasConjure(
string
$name
)
|
|
Checks if conjure exists.
Checks if conjure exists.
Parameters:
|
string |
$name: |
Conjure name. |
API Tags:
| Return: | If conjure is set then true. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.1.0 |
| Since: | 0.1.0 |
| Since: | 0.1.3 |
bool hasInstant(
string
$name
)
|
|
Checks if instant exists.
Checks if instant exists.
Parameters:
|
string |
$name: |
Instant name. |
API Tags:
| Return: | If instant is set then true. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.1.0 |
| Since: | 0.1.0 |
| Since: | 0.1.3 |
bool hasRune(
string
$name
)
|
|
Checks if rune exists.
Checks if rune exists.
Parameters:
API Tags:
| Return: | If rune is set then true. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.1.0 |
| Since: | 0.1.0 |
| Since: | 0.1.3 |
mixed __get(
string
$name
)
|
|
Magic PHP5 method.
Magic PHP5 method.
Parameters:
|
string |
$name: |
Property name. |
API Tags:
| Return: | Property value. |
| Access: | public |
Information Tags:
| Version: | 0.1.0 |
| Throws: | OutOfBoundsException For non-supported properties. |
| Since: | 0.1.0 |
void __set_state(
array
$properties
)
|
|
Magic PHP5 method.
Magic PHP5 method.
Allows object importing from var_export().
Parameters:
|
array |
$properties: |
List of object properties. |
API Tags:
Information Tags:
| Version: | 0.1.0 |
| Since: | 0.1.0 |
Returns string representation of object.
Returns string representation of object.
If any display driver is currently loaded then it uses it's method.
API Tags:
| Return: | String representation of object. |
| Access: | public |
Information Tags:
| Version: | 0.1.3 |
| Version: | 0.1.0 |
| Since: | 0.1.0 |
| Since: | 0.1.3 |