Class XlrFunctionsComponent
Class XlrFunctionsComponent
- Component
- XlrFunctionsComponent
Package: app\Controller\Component
License: Commons BY-NC-SA 3.0 License (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Located at Component/XlrFunctionsComponent.php
License: Commons BY-NC-SA 3.0 License (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Located at Component/XlrFunctionsComponent.php
Methods summary
public
integer|string
|
|
public
array|boolean
|
#
getRankProgress( mixed $kills )
Returns an array of player's rank progress. Array contains information for required kills for next rank and progress in percentage. |
public
array
|
|
public
array
|
|
public
string
|
#
getItemName( mixed $xlrDB, mixed $item )
Function to translate game dependant terms to a readable format Based on game configs in /configs/games |
public
array
|
|
public
string
|
|
public
mixed
|
|
public
boolean|mixed
|
|
public
string
|
|
public
string
|
#
sanitizeMe( mixed $str )
Sanitation function for displaying database content in html http://www.php.net/manual/en/function.htmlentities.php |
Magic methods summary
Properties summary
public
array
|
$components |