Class PlayerWeaponsController
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
-
PlayerWeaponsController
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 PlayerWeaponsController.php
Methods summary
public
|
|
public
mixed
|
#
playerWeaponsJson( null $playerID = null )
Queries player weapons and pass data to view file app/View/PlayerWeapons/json/player_weapons_json.ctp to be processed by dataTables. |
public
array
|
#
getPlayerTopWeapons( null $playerID = null, string $action = 'kills', integer $weaponCount = 5 )
Returns and array of top player 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
|
$helpers |
#
Helpers |
public
array
|
$components |
#
Components |
public
array
|
$uses |
#
Models |