Code Context
$League = $this->Sport->League->getLiveLeagues($Sport["Sport"]["id"], $LeagueId);
$this = object(SportsController) {
name => 'Sports'
uses => array(
(int) 0 => 'Live',
(int) 1 => 'Country',
(int) 2 => 'League',
(int) 3 => 'Content.Slide',
(int) 4 => 'Event',
(int) 5 => 'Bet',
(int) 6 => 'Sport',
(int) 7 => 'AppModel',
(int) 8 => 'Currency',
(int) 9 => 'User',
(int) 10 => 'Permission',
(int) 11 => 'Ticket',
(int) 12 => 'Group',
(int) 13 => 'Setting',
(int) 14 => 'Aro',
(int) 15 => 'Aco',
(int) 16 => 'Language',
(int) 17 => 'Bets.Bet',
(int) 18 => 'Content.News',
(int) 19 => 'Payments.CreditPayment'
)
helpers => array(
'App' => null,
'Beth' => null,
'MyForm' => null,
'MyHtml' => null,
'TimeZone' => null,
'Html' => null,
'Session' => null,
'Form' => null,
'Js' => null,
'Text' => null,
'Ticket' => null,
'Content.Menu' => null,
'Admin' => null,
'Utils' => null,
'PhpExcel' => null,
'Sports' => null,
'Countries' => null,
'Language' => null,
'Payments.CreditPayment' => null
)
components => array(
(int) 0 => 'App',
(int) 1 => 'Admin',
(int) 2 => 'Acl',
(int) 3 => 'Session',
(int) 4 => 'Cookie',
(int) 5 => 'Email',
(int) 6 => 'Utils',
(int) 7 => 'RequestHandler',
(int) 8 => 'TimeZone',
(int) 9 => 'Files',
(int) 10 => 'PhpExcel',
(int) 11 => 'Paginator',
'Auth' => array(
[maximum depth reached]
)
)
viewClass => 'Theme'
theme => 'Design'
paginate => array()
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Sports'
layoutPath => null
viewVars => array(
'getNews' => array(
[maximum depth reached]
),
'bets' => array([maximum depth reached])
)
view => 'display'
layout => 'home'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '4'
)
scaffold => false
methods => array(
(int) 1 => 'admin_view',
(int) 2 => 'display',
(int) 3 => 'getSports',
(int) 4 => 'admin_index',
(int) 5 => 'admin_add',
(int) 6 => 'admin_edit',
(int) 7 => 'admin_delete',
(int) 8 => 'admin_translate',
(int) 9 => 'admin_moveUp',
(int) 10 => 'admin_moveDown',
(int) 11 => '__getModel'
)
modelClass => 'Live'
modelKey => 'sport'
validationErrors => null
App => object(AppComponent) {}
Admin => object(AdminComponent) {}
Acl => object(AclComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Email => object(EmailComponent) {}
Utils => object(UtilsComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
TimeZone => object(TimeZoneComponent) {}
Files => object(FilesComponent) {}
PhpExcel => object(PhpExcelComponent) {}
Paginator => object(PaginatorComponent) {}
Auth => object(AuthComponent) {}
Group => object(Group) {}
Ticket => object(Ticket) {}
News => object(News) {}
Setting => object(Setting) {}
Currency => object(Currency) {}
Aro => object(Aro) {}
Aco => object(Aco) {}
Language => object(Language) {}
CreditPayment => object(CreditPayment) {}
Sport => object(Sport) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
$SportId = '4'
$LeagueId = null
$LeaguesMenu = array(
'Sport' => array(
'id' => '4',
'locale' => 'eng',
'name' => 'Basketball'
),
'League' => array(
(int) 0 => array(
'id' => '149',
'country_id' => '0',
'name' => 'NBA',
'sport_id' => '4'
),
(int) 1 => array(
'id' => '151',
'country_id' => '0',
'name' => 'NCAA',
'sport_id' => '4'
),
(int) 2 => array(
'id' => '153',
'country_id' => '0',
'name' => 'Australian NBL',
'sport_id' => '4'
),
(int) 3 => array(
'id' => '552',
'country_id' => '0',
'name' => 'Euroleague',
'sport_id' => '4'
),
(int) 4 => array(
'id' => '633',
'country_id' => '0',
'name' => 'German Bundesliga',
'sport_id' => '4'
),
(int) 5 => array(
'id' => '637',
'country_id' => '0',
'name' => 'Italian Serie A',
'sport_id' => '4'
),
(int) 6 => array(
'id' => '640',
'country_id' => '0',
'name' => 'Turkish BSL',
'sport_id' => '4'
),
(int) 7 => array(
'id' => '683',
'country_id' => '0',
'name' => 'Eurocup',
'sport_id' => '4'
),
(int) 8 => array(
'id' => '689',
'country_id' => '0',
'name' => 'Champions League',
'sport_id' => '4'
),
(int) 9 => array(
'id' => '718',
'country_id' => '0',
'name' => 'Spanish ACB',
'sport_id' => '4'
),
(int) 10 => array(
'id' => '720',
'country_id' => '0',
'name' => 'Greek A1',
'sport_id' => '4'
),
(int) 11 => array(
'id' => '818',
'country_id' => '0',
'name' => 'Polish Ekstraklasa',
'sport_id' => '4'
),
(int) 12 => array(
'id' => '1359',
'country_id' => '0',
'name' => 'Fiba Europe Cup',
'sport_id' => '4'
),
(int) 13 => array(
'id' => '1361',
'country_id' => '0',
'name' => 'Lithuanian LKL',
'sport_id' => '4'
),
(int) 14 => array(
'id' => '1386',
'country_id' => '0',
'name' => 'German Pro A',
'sport_id' => '4'
),
(int) 15 => array(
'id' => '1429',
'country_id' => '0',
'name' => 'Danish Basketligaen',
'sport_id' => '4'
),
(int) 16 => array(
'id' => '1443',
'country_id' => '0',
'name' => 'Czech NBL',
'sport_id' => '4'
),
(int) 17 => array(
'id' => '1446',
'country_id' => '0',
'name' => 'Austrian Bundesliga',
'sport_id' => '4'
),
(int) 18 => array(
'id' => '1460',
'country_id' => '0',
'name' => 'Japan B2 League',
'sport_id' => '4'
),
(int) 19 => array(
'id' => '1464',
'country_id' => '0',
'name' => 'Hungarian NB I',
'sport_id' => '4'
),
(int) 20 => array(
'id' => '1469',
'country_id' => '0',
'name' => 'VTB',
'sport_id' => '4'
),
(int) 21 => array(
'id' => '1505',
'country_id' => '0',
'name' => 'Czech ZBL W.',
'sport_id' => '4'
),
(int) 22 => array(
'id' => '1517',
'country_id' => '0',
'name' => 'Latvian Estonian League',
'sport_id' => '4'
),
(int) 23 => array(
'id' => '1541',
'country_id' => '0',
'name' => 'Icelandic Urvalsdeild W.',
'sport_id' => '4'
),
(int) 24 => array(
'id' => '1573',
'country_id' => '0',
'name' => 'Italian Serie A2',
'sport_id' => '4'
),
(int) 25 => array(
'id' => '1576',
'country_id' => '0',
'name' => 'Argentinian LNB',
'sport_id' => '4'
),
(int) 26 => array(
'id' => '1577',
'country_id' => '0',
'name' => 'Brazilian NBB',
'sport_id' => '4'
),
(int) 27 => array(
'id' => '1578',
'country_id' => '0',
'name' => 'S. Korean KBL',
'sport_id' => '4'
),
(int) 28 => array(
'id' => '1579',
'country_id' => '0',
'name' => 'S. Korean WKBL',
'sport_id' => '4'
),
(int) 29 => array(
'id' => '1580',
'country_id' => '0',
'name' => 'Chinese CBA',
'sport_id' => '4'
),
(int) 30 => array(
'id' => '1642',
'country_id' => '0',
'name' => 'Slovakian Extraliga',
'sport_id' => '4'
),
(int) 31 => array(
'id' => '1648',
'country_id' => '0',
'name' => 'Finnish Korisliiga',
'sport_id' => '4'
),
(int) 32 => array(
'id' => '1659',
'country_id' => '0',
'name' => 'Israeli Super League',
'sport_id' => '4'
),
(int) 33 => array(
'id' => '1676',
'country_id' => '0',
'name' => 'French LFB',
'sport_id' => '4'
),
(int) 34 => array(
'id' => '1677',
'country_id' => '0',
'name' => 'Russian Premier League W.',
'sport_id' => '4'
),
(int) 35 => array(
'id' => '1686',
'country_id' => '0',
'name' => 'Slovenian 1. A SKL',
'sport_id' => '4'
),
(int) 36 => array(
'id' => '1757',
'country_id' => '0',
'name' => 'Balkan League',
'sport_id' => '4'
),
(int) 37 => array(
'id' => '2106',
'country_id' => '0',
'name' => 'NCAA W.',
'sport_id' => '4'
),
(int) 38 => array(
'id' => '2147',
'country_id' => '0',
'name' => 'Serbian A1 League',
'sport_id' => '4'
)
)
)
$LeaguesLiveMenu = array()
AppController::beforeFilter() - APP/Controller/AppController.php, line 198
SportsController::beforeFilter() - APP/Controller/SportsController.php, line 49
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 182
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 124