The Tools class provides tools for administrators. Currently there is clean() to clean up the database which you will need to execute after every Andaloria-Server restart. Additionally csvimport() imports the map (landscape) from a csv file which usually is provided by the WDS-Team on their homepage.
Robert Vock <smir@andaloria.de>
Definition at line 30 of file lib/tools.php.
Public Member Functions | |
| Tools (&$oDB) | |
| set the database object | |
| clean ($booCleanMap) | |
| clean the database | |
| csvimport ($intServerId, $intLine=0, $intLinesPerCall=10, $booDbIsClean=false) | |
| csv import of map | |
Public Attributes | |
| $oDB | |
| reference to Database object | |
|
|
set the database object
Definition at line 38 of file lib/tools.php. References $oDB. |
|
|
clean the database
Definition at line 48 of file lib/tools.php. References $intCount. |
|
||||||||||||||||||||
|
csv import of map
Definition at line 78 of file lib/tools.php. References $aField, $aRow, $booDbIsClean, $intCount, $intTime, $x, and $y. |
|
|
reference to Database object
Definition at line 32 of file lib/tools.php. Referenced by Tools(). |
1.4.2