Class AppModel
Application model for Cake.
Add your application-wide methods in the class below, your models will inherit them.
- Model
- AppModel
Direct known subclasses
Alias
,
BodyPart
,
PlayerActivity
,
PlayerHitZone
,
PlayerMap
,
PlayerStat
,
PlayerWeapon
,
ServerGroup
,
ServerInfo
,
ServerOption
,
ServerPlayer
,
UserSoldier
,
DashboardAppModel
,
WeaponStat
,
WeeklyStat
,
IpAlias
,
League
,
MapStat
,
MonthlyStat
,
Opponent
,
Penalty
,
Player
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/)
Located at AppModel.php
Methods summary
public
|
#
__construct( boolean $id = false, null $table = null, null $ds = null )
Dynamically creates a B3 DataSource object at runtime based on server selection. Sets DataSource as 'default' if $this->b3Database is set to false. |
Magic methods summary
Properties summary
public
boolean
|
$b3Database |
#
set to true in model if you want to use the b3Database to retrieve statistics data. Defaults to false to avoid conflicts with external plugins that depend on the default connection to be app-related. |