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 => '11'
)
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 = '11'
$LeagueId = null
$LeaguesMenu = array(
'Sport' => array(
'id' => '11',
'locale' => 'eng',
'name' => 'Ice Hockey'
),
'League' => array(
(int) 0 => array(
'id' => '185',
'country_id' => '0',
'name' => 'NHL',
'sport_id' => '11'
),
(int) 1 => array(
'id' => '187',
'country_id' => '0',
'name' => 'Swedish Hockey League',
'sport_id' => '11'
),
(int) 2 => array(
'id' => '188',
'country_id' => '0',
'name' => 'Finnish Liiga',
'sport_id' => '11'
),
(int) 3 => array(
'id' => '189',
'country_id' => '0',
'name' => 'Russian KHL',
'sport_id' => '11'
),
(int) 4 => array(
'id' => '192',
'country_id' => '0',
'name' => 'Swedish Allsvenskan',
'sport_id' => '11'
),
(int) 5 => array(
'id' => '1139',
'country_id' => '0',
'name' => 'Russian MHL',
'sport_id' => '11'
),
(int) 6 => array(
'id' => '1149',
'country_id' => '0',
'name' => 'Russian VHL',
'sport_id' => '11'
),
(int) 7 => array(
'id' => '1176',
'country_id' => '0',
'name' => 'Slovakian Extraliga',
'sport_id' => '11'
),
(int) 8 => array(
'id' => '1188',
'country_id' => '0',
'name' => 'French Ligue Magnus',
'sport_id' => '11'
),
(int) 9 => array(
'id' => '1190',
'country_id' => '0',
'name' => 'Czech 1st League',
'sport_id' => '11'
),
(int) 10 => array(
'id' => '1192',
'country_id' => '0',
'name' => 'Belarusian Extraliga',
'sport_id' => '11'
),
(int) 11 => array(
'id' => '1193',
'country_id' => '0',
'name' => 'Norwegian Ligaen',
'sport_id' => '11'
),
(int) 12 => array(
'id' => '1235',
'country_id' => '0',
'name' => 'Hungarian League',
'sport_id' => '11'
),
(int) 13 => array(
'id' => '1236',
'country_id' => '0',
'name' => 'Czech Extraliga',
'sport_id' => '11'
),
(int) 14 => array(
'id' => '1240',
'country_id' => '0',
'name' => 'Latvian Virsliga',
'sport_id' => '11'
),
(int) 15 => array(
'id' => '1243',
'country_id' => '0',
'name' => 'Polish Ekstraklasa',
'sport_id' => '11'
),
(int) 16 => array(
'id' => '1245',
'country_id' => '0',
'name' => 'Slovakian 1st League',
'sport_id' => '11'
),
(int) 17 => array(
'id' => '1252',
'country_id' => '0',
'name' => 'German Liga',
'sport_id' => '11'
),
(int) 18 => array(
'id' => '1253',
'country_id' => '0',
'name' => 'Austrian EHL',
'sport_id' => '11'
),
(int) 19 => array(
'id' => '1254',
'country_id' => '0',
'name' => 'German 2. Bundesliga',
'sport_id' => '11'
),
(int) 20 => array(
'id' => '1277',
'country_id' => '0',
'name' => 'Danish Ligaen',
'sport_id' => '11'
),
(int) 21 => array(
'id' => '1309',
'country_id' => '0',
'name' => 'Swiss NLB',
'sport_id' => '11'
),
(int) 22 => array(
'id' => '1314',
'country_id' => '0',
'name' => 'Swedish HockeyEttan',
'sport_id' => '11'
),
(int) 23 => array(
'id' => '1380',
'country_id' => '0',
'name' => 'Swiss NLA',
'sport_id' => '11'
),
(int) 24 => array(
'id' => '1596',
'country_id' => '0',
'name' => 'Euro Hockey Tour',
'sport_id' => '11'
),
(int) 25 => array(
'id' => '2150',
'country_id' => '0',
'name' => 'SDHL W.',
'sport_id' => '11'
)
)
)
$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