Class WeaponStatsController
XLRstats : Real Time Player Stats (http://www.xlrstats.com) (CC) BY-NC-SA 2005-2013, Mark Weirath, Özgür Uysal
Licensed under the Creative Commons BY-NC-SA 3.0 License Redistributions of files must retain the above copyright notice.
- Controller
-
AppController
-
WeaponStatsController
License: Commons BY-NC-SA 3.0 License (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Version: 0.1
Since: XLRstats v3.0
Link: http://www.xlrstats.com
Located at WeaponStatsController.php
Methods summary
public
|
|
public
mixed
|
#
weaponStatsJson( )
Queries all weapon stats and pass data to view file app/View/WeaponStats/json/weapons_json.ctp to be processed by dataTables. |
public
array
|
|
public
array
|
#
getTopWeapons( string $action = 'kills', integer $weaponCount = 5 )
Returns and array of top weapons for the selected action. |
Methods inherited from AppController
beforeFilter()
,
beforeRender()
,
checkAuthorization()
,
checkCaching()
,
checkLicense()
,
getDatabaseId()
,
getServerGroupId()
,
getServerName()
,
getSubdomain()
,
getUserData()
,
isAuthorized()
,
loadB3Servers()
,
loadConfigOptions()
,
loadGameConfig()
,
loadServerConfigOptions()
Magic methods summary
Properties summary
public
array
|
$uses | |
public
array
|
$components |
#
Components |
public
array
|
$helpers |
#
Helpers |