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 => '8'
)
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 = '8'
$LeagueId = null
$LeaguesMenu = array(
'Sport' => array(
'id' => '8',
'locale' => 'eng',
'name' => 'Volleyball'
),
'League' => array(
(int) 0 => array(
'id' => '432',
'country_id' => '0',
'name' => 'Greek A1',
'sport_id' => '8'
),
(int) 1 => array(
'id' => '1111',
'country_id' => '0',
'name' => 'German Bundesliga',
'sport_id' => '8'
),
(int) 2 => array(
'id' => '1115',
'country_id' => '0',
'name' => 'Italian Serie A1',
'sport_id' => '8'
),
(int) 3 => array(
'id' => '1234',
'country_id' => '0',
'name' => 'Russian Super League',
'sport_id' => '8'
),
(int) 4 => array(
'id' => '1393',
'country_id' => '0',
'name' => 'Slovakian Extraliga',
'sport_id' => '8'
),
(int) 5 => array(
'id' => '1440',
'country_id' => '0',
'name' => 'Finnish Mestaruusliiga ',
'sport_id' => '8'
),
(int) 6 => array(
'id' => '1483',
'country_id' => '0',
'name' => 'Czech Extraliga M.',
'sport_id' => '8'
),
(int) 7 => array(
'id' => '1484',
'country_id' => '0',
'name' => 'Swedish Elitserien',
'sport_id' => '8'
),
(int) 8 => array(
'id' => '1542',
'country_id' => '0',
'name' => 'Austrian A1 M.',
'sport_id' => '8'
),
(int) 9 => array(
'id' => '1554',
'country_id' => '0',
'name' => 'Serbian Superliga W.',
'sport_id' => '8'
),
(int) 10 => array(
'id' => '1556',
'country_id' => '0',
'name' => 'Polish PlusLiga M.',
'sport_id' => '8'
),
(int) 11 => array(
'id' => '1588',
'country_id' => '0',
'name' => 'Polish 1 Liga W.',
'sport_id' => '8'
),
(int) 12 => array(
'id' => '1590',
'country_id' => '0',
'name' => 'CEV Cup W.',
'sport_id' => '8'
),
(int) 13 => array(
'id' => '1591',
'country_id' => '0',
'name' => 'S. Korean League M.',
'sport_id' => '8'
),
(int) 14 => array(
'id' => '1610',
'country_id' => '0',
'name' => 'Belgian A1',
'sport_id' => '8'
),
(int) 15 => array(
'id' => '1633',
'country_id' => '0',
'name' => 'Brazilian Superliga',
'sport_id' => '8'
),
(int) 16 => array(
'id' => '1635',
'country_id' => '0',
'name' => 'Brazilian Superliga W.',
'sport_id' => '8'
),
(int) 17 => array(
'id' => '1644',
'country_id' => '0',
'name' => 'Russian Super League W.',
'sport_id' => '8'
),
(int) 18 => array(
'id' => '1654',
'country_id' => '0',
'name' => 'French Ligue A M.',
'sport_id' => '8'
),
(int) 19 => array(
'id' => '1661',
'country_id' => '0',
'name' => 'French Ligue A W.',
'sport_id' => '8'
),
(int) 20 => array(
'id' => '1662',
'country_id' => '0',
'name' => 'Turkish A1 W.',
'sport_id' => '8'
),
(int) 21 => array(
'id' => '1679',
'country_id' => '0',
'name' => 'Italian Serie A1 W.',
'sport_id' => '8'
),
(int) 22 => array(
'id' => '1680',
'country_id' => '0',
'name' => 'Italian Serie A2',
'sport_id' => '8'
),
(int) 23 => array(
'id' => '1682',
'country_id' => '0',
'name' => 'Turkish A1 M.',
'sport_id' => '8'
),
(int) 24 => array(
'id' => '1693',
'country_id' => '0',
'name' => 'German Bundesliga W.',
'sport_id' => '8'
),
(int) 25 => array(
'id' => '1697',
'country_id' => '0',
'name' => 'Spanish Superliga M.',
'sport_id' => '8'
),
(int) 26 => array(
'id' => '1707',
'country_id' => '0',
'name' => 'Portuguese Div A1',
'sport_id' => '8'
),
(int) 27 => array(
'id' => '1708',
'country_id' => '0',
'name' => 'Italian Serie A2 W.',
'sport_id' => '8'
),
(int) 28 => array(
'id' => '1755',
'country_id' => '0',
'name' => 'MEVZA M.',
'sport_id' => '8'
),
(int) 29 => array(
'id' => '1769',
'country_id' => '0',
'name' => 'Argentinian A1',
'sport_id' => '8'
),
(int) 30 => array(
'id' => '1772',
'country_id' => '0',
'name' => 'Champions League M.',
'sport_id' => '8'
),
(int) 31 => array(
'id' => '1794',
'country_id' => '0',
'name' => 'Champions League W.',
'sport_id' => '8'
),
(int) 32 => array(
'id' => '2078',
'country_id' => '0',
'name' => 'Italian Cup',
'sport_id' => '8'
),
(int) 33 => array(
'id' => '2113',
'country_id' => '0',
'name' => 'Polish Cup W.',
'sport_id' => '8'
)
)
)
$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