Class AppController
Application Controller
Add your application-wide methods in the class below, your controllers will inherit them.
- Controller
- AppController
Direct known subclasses
AchievementsController
,
AliasesController
,
PagesController
,
PenaltiesController
,
PlayerActivitiesController
,
PlayerHitZonesController
,
PlayerMapsController
,
PlayerStatsController
,
PlayerWeaponsController
,
PluginreqController
,
ServerInfoController
,
ServerPlayersController
,
AwardsController
,
UserSoldiersController
,
WeaponStatsController
,
WeeklyStatsController
,
DashboardAppController
,
FeedsController
,
IpAliasesController
,
LeaguesController
,
MapStatsController
,
MonthlyStatsController
,
OpponentsController
Indirect known subclasses
DashboardController
,
GroupsController
,
HomeController
,
MaintenanceController
,
OptionsController
,
PlayerSoldiersController
,
ServerGroupsController
,
ServerOptionsController
,
ServersController
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: Commons BY-NC-SA 3.0 License (http://creativecommons.org/licenses/by-nc-sa/3.0/) Here is the Doxygen Mainpage Content: \mainpage \section intro_sec Introduction Here is the developer documentation of the Models, Controllers and Views of the XLRstats webfront v3. This docs also cover the dashboard plugin that is part of the core app. \section installation_sec Installation Installation instructions can be found at www.xlrstats.com
Link: http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
Located at AppController.php
Methods summary
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
#
getDatabaseId( )
Determines which B3 database we need to access. See AppModel::__construct() for database selection logic. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
checkAuthorization( )
Controls the Authorization using cakePHP's built-in ActionsAuthorize and ControllerAuthorize handlers. |
public
|
#
getUserData( )
Sets $user variable that holds an array of user information to use in controllers and views. |
public
|
|
public
|
#
isAuthorized( )
Used to check if a serverGroupAdmin is authorized to access a certain server group |
public
|
|
public
mixed
|
Magic methods summary
Properties summary
public
array
|
$uses |
#
Models |
public
array
|
$helpers |
#
Helpers |
public
array
|
$components |
#
Components |
public
array
|
$user |
#
An array of user data |