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 => '1'
)
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 = '1'
$LeagueId = null
$LeaguesMenu = array(
'Sport' => array(
'id' => '1',
'locale' => 'eng',
'name' => 'Football'
),
'League' => array(
(int) 0 => array(
'id' => '1',
'country_id' => '0',
'name' => 'World Cup',
'sport_id' => '1'
),
(int) 1 => array(
'id' => '2',
'country_id' => '0',
'name' => 'Eng. Premier League',
'sport_id' => '1'
),
(int) 2 => array(
'id' => '3',
'country_id' => '0',
'name' => 'French Ligue 1',
'sport_id' => '1'
),
(int) 3 => array(
'id' => '4',
'country_id' => '0',
'name' => 'German Bundesliga',
'sport_id' => '1'
),
(int) 4 => array(
'id' => '5',
'country_id' => '0',
'name' => 'Italian Serie A',
'sport_id' => '1'
),
(int) 5 => array(
'id' => '6',
'country_id' => '0',
'name' => 'Spanish Liga Primera',
'sport_id' => '1'
),
(int) 6 => array(
'id' => '7',
'country_id' => '0',
'name' => 'Champions League',
'sport_id' => '1'
),
(int) 7 => array(
'id' => '8',
'country_id' => '0',
'name' => 'French Ligue 2',
'sport_id' => '1'
),
(int) 8 => array(
'id' => '9',
'country_id' => '0',
'name' => 'Dutch Eredivisie',
'sport_id' => '1'
),
(int) 9 => array(
'id' => '10',
'country_id' => '0',
'name' => 'Belgian First Division A',
'sport_id' => '1'
),
(int) 10 => array(
'id' => '11',
'country_id' => '0',
'name' => 'Swiss Super League',
'sport_id' => '1'
),
(int) 11 => array(
'id' => '12',
'country_id' => '0',
'name' => 'English Championship',
'sport_id' => '1'
),
(int) 12 => array(
'id' => '13',
'country_id' => '0',
'name' => 'German Bundesliga 2',
'sport_id' => '1'
),
(int) 13 => array(
'id' => '14',
'country_id' => '0',
'name' => 'Portuguese Prim. Liga',
'sport_id' => '1'
),
(int) 14 => array(
'id' => '15',
'country_id' => '0',
'name' => 'Scottish Premiership',
'sport_id' => '1'
),
(int) 15 => array(
'id' => '16',
'country_id' => '0',
'name' => 'Austrian Bundesliga',
'sport_id' => '1'
),
(int) 16 => array(
'id' => '17',
'country_id' => '0',
'name' => 'Turkish Super Lig',
'sport_id' => '1'
),
(int) 17 => array(
'id' => '18',
'country_id' => '0',
'name' => 'EFL Cup',
'sport_id' => '1'
),
(int) 18 => array(
'id' => '19',
'country_id' => '0',
'name' => 'English FA Cup',
'sport_id' => '1'
),
(int) 19 => array(
'id' => '20',
'country_id' => '0',
'name' => 'Spanish Copa del Rey',
'sport_id' => '1'
),
(int) 20 => array(
'id' => '21',
'country_id' => '0',
'name' => 'German DFB Cup',
'sport_id' => '1'
),
(int) 21 => array(
'id' => '23',
'country_id' => '0',
'name' => 'Danish Superliga',
'sport_id' => '1'
),
(int) 22 => array(
'id' => '24',
'country_id' => '0',
'name' => 'Euro Championship',
'sport_id' => '1'
),
(int) 23 => array(
'id' => '28',
'country_id' => '0',
'name' => 'Russian Premier League',
'sport_id' => '1'
),
(int) 24 => array(
'id' => '30',
'country_id' => '0',
'name' => 'Brazilian Serie A',
'sport_id' => '1'
),
(int) 25 => array(
'id' => '31',
'country_id' => '0',
'name' => 'Copa Libertadores',
'sport_id' => '1'
),
(int) 26 => array(
'id' => '37',
'country_id' => '0',
'name' => 'Czech 1. Liga',
'sport_id' => '1'
),
(int) 27 => array(
'id' => '38',
'country_id' => '0',
'name' => 'Polish Ekstraklasa',
'sport_id' => '1'
),
(int) 28 => array(
'id' => '40',
'country_id' => '0',
'name' => 'English League 1',
'sport_id' => '1'
),
(int) 29 => array(
'id' => '42',
'country_id' => '0',
'name' => 'Mexican Primera',
'sport_id' => '1'
),
(int) 30 => array(
'id' => '51',
'country_id' => '0',
'name' => 'Club Friendlies',
'sport_id' => '1'
),
(int) 31 => array(
'id' => '53',
'country_id' => '0',
'name' => 'Ukrainian Premier League',
'sport_id' => '1'
),
(int) 32 => array(
'id' => '54',
'country_id' => '0',
'name' => 'Danish Division 1',
'sport_id' => '1'
),
(int) 33 => array(
'id' => '55',
'country_id' => '0',
'name' => 'English League 2',
'sport_id' => '1'
),
(int) 34 => array(
'id' => '58',
'country_id' => '0',
'name' => 'Romanian Liga 1',
'sport_id' => '1'
),
(int) 35 => array(
'id' => '59',
'country_id' => '0',
'name' => 'Hungarian NB 1',
'sport_id' => '1'
),
(int) 36 => array(
'id' => '60',
'country_id' => '0',
'name' => 'Slovakian Super Liga',
'sport_id' => '1'
),
(int) 37 => array(
'id' => '63',
'country_id' => '0',
'name' => 'Swiss Challenge League',
'sport_id' => '1'
),
(int) 38 => array(
'id' => '66',
'country_id' => '0',
'name' => 'Uruguayan Primera',
'sport_id' => '1'
),
(int) 39 => array(
'id' => '77',
'country_id' => '0',
'name' => 'Europa League',
'sport_id' => '1'
),
(int) 40 => array(
'id' => '81',
'country_id' => '0',
'name' => 'Colombian Primera A',
'sport_id' => '1'
),
(int) 41 => array(
'id' => '83',
'country_id' => '0',
'name' => 'Costa Rican Primera Division',
'sport_id' => '1'
),
(int) 42 => array(
'id' => '86',
'country_id' => '0',
'name' => 'Vietnamese V-League',
'sport_id' => '1'
),
(int) 43 => array(
'id' => '101',
'country_id' => '0',
'name' => 'Copa Argentina',
'sport_id' => '1'
),
(int) 44 => array(
'id' => '131',
'country_id' => '0',
'name' => 'UEFA Nations League',
'sport_id' => '1'
),
(int) 45 => array(
'id' => '332',
'country_id' => '0',
'name' => 'Italian Cup',
'sport_id' => '1'
),
(int) 46 => array(
'id' => '333',
'country_id' => '0',
'name' => 'Russian Cup',
'sport_id' => '1'
),
(int) 47 => array(
'id' => '334',
'country_id' => '0',
'name' => 'French Cup',
'sport_id' => '1'
),
(int) 48 => array(
'id' => '335',
'country_id' => '0',
'name' => 'Croatian 1. HNL',
'sport_id' => '1'
),
(int) 49 => array(
'id' => '339',
'country_id' => '0',
'name' => 'Spanish Liga Segunda',
'sport_id' => '1'
),
(int) 50 => array(
'id' => '355',
'country_id' => '0',
'name' => 'Italian Serie B',
'sport_id' => '1'
),
(int) 51 => array(
'id' => '372',
'country_id' => '0',
'name' => 'German 3. Liga',
'sport_id' => '1'
),
(int) 52 => array(
'id' => '388',
'country_id' => '0',
'name' => 'Turkish Super Cup',
'sport_id' => '1'
),
(int) 53 => array(
'id' => '393',
'country_id' => '0',
'name' => 'Austrian 1st Division',
'sport_id' => '1'
),
(int) 54 => array(
'id' => '421',
'country_id' => '0',
'name' => 'German Regionall. Southwest',
'sport_id' => '1'
),
(int) 55 => array(
'id' => '422',
'country_id' => '0',
'name' => 'German Regionall. West',
'sport_id' => '1'
),
(int) 56 => array(
'id' => '447',
'country_id' => '0',
'name' => 'Copa do Brasil',
'sport_id' => '1'
),
(int) 57 => array(
'id' => '484',
'country_id' => '0',
'name' => 'Egyptian Pr. League',
'sport_id' => '1'
),
(int) 58 => array(
'id' => '528',
'country_id' => '0',
'name' => 'English National League',
'sport_id' => '1'
),
(int) 59 => array(
'id' => '529',
'country_id' => '0',
'name' => 'S. African Pr. League',
'sport_id' => '1'
),
(int) 60 => array(
'id' => '578',
'country_id' => '0',
'name' => 'Romanian Liga 2',
'sport_id' => '1'
),
(int) 61 => array(
'id' => '678',
'country_id' => '0',
'name' => 'Scottish Championship',
'sport_id' => '1'
),
(int) 62 => array(
'id' => '709',
'country_id' => '0',
'name' => 'Danish Cup',
'sport_id' => '1'
),
(int) 63 => array(
'id' => '737',
'country_id' => '0',
'name' => 'Port. Segunda Liga',
'sport_id' => '1'
),
(int) 64 => array(
'id' => '745',
'country_id' => '0',
'name' => 'Polish Cup',
'sport_id' => '1'
),
(int) 65 => array(
'id' => '750',
'country_id' => '0',
'name' => 'Friendly Internationals',
'sport_id' => '1'
),
(int) 66 => array(
'id' => '772',
'country_id' => '0',
'name' => 'Azerbaijani Premyer Liqasi',
'sport_id' => '1'
),
(int) 67 => array(
'id' => '828',
'country_id' => '0',
'name' => 'Dutch Eerste Divisie',
'sport_id' => '1'
),
(int) 68 => array(
'id' => '863',
'country_id' => '0',
'name' => 'Colombian Copa',
'sport_id' => '1'
),
(int) 69 => array(
'id' => '889',
'country_id' => '0',
'name' => 'Maltese Pr. League',
'sport_id' => '1'
),
(int) 70 => array(
'id' => '959',
'country_id' => '0',
'name' => 'Greek Superleague',
'sport_id' => '1'
),
(int) 71 => array(
'id' => '973',
'country_id' => '0',
'name' => 'Argentinian Primera B Nacional',
'sport_id' => '1'
),
(int) 72 => array(
'id' => '977',
'country_id' => '0',
'name' => 'Cypriot Division 1',
'sport_id' => '1'
),
(int) 73 => array(
'id' => '978',
'country_id' => '0',
'name' => 'Spanish Seg. B Gr.1',
'sport_id' => '1'
),
(int) 74 => array(
'id' => '987',
'country_id' => '0',
'name' => 'Israeli Premier League',
'sport_id' => '1'
),
(int) 75 => array(
'id' => '989',
'country_id' => '0',
'name' => 'Nicaraguan Primera Division',
'sport_id' => '1'
),
(int) 76 => array(
'id' => '1039',
'country_id' => '0',
'name' => 'Romanian Cup',
'sport_id' => '1'
),
(int) 77 => array(
'id' => '1116',
'country_id' => '0',
'name' => 'Turkish Lig 3 Group 3',
'sport_id' => '1'
),
(int) 78 => array(
'id' => '1174',
'country_id' => '0',
'name' => 'Spanish Liga Primera W.',
'sport_id' => '1'
),
(int) 79 => array(
'id' => '1194',
'country_id' => '0',
'name' => 'Turkish Lig 3 Group 1',
'sport_id' => '1'
),
(int) 80 => array(
'id' => '1201',
'country_id' => '0',
'name' => 'English Super League W.',
'sport_id' => '1'
),
(int) 81 => array(
'id' => '1203',
'country_id' => '0',
'name' => 'Portuguese Cup',
'sport_id' => '1'
),
(int) 82 => array(
'id' => '1283',
'country_id' => '0',
'name' => 'Italian Primavera',
'sport_id' => '1'
),
(int) 83 => array(
'id' => '1284',
'country_id' => '0',
'name' => 'Spanish Seg. B Gr.2',
'sport_id' => '1'
),
(int) 84 => array(
'id' => '1285',
'country_id' => '0',
'name' => 'Spanish Seg. B Gr.3',
'sport_id' => '1'
),
(int) 85 => array(
'id' => '1286',
'country_id' => '0',
'name' => 'Spanish Seg. B Gr.4',
'sport_id' => '1'
),
(int) 86 => array(
'id' => '1287',
'country_id' => '0',
'name' => 'Italian Serie C Girone A',
'sport_id' => '1'
),
(int) 87 => array(
'id' => '1288',
'country_id' => '0',
'name' => 'Portuguese League U23',
'sport_id' => '1'
),
(int) 88 => array(
'id' => '1291',
'country_id' => '0',
'name' => 'Italian Serie C Girone C',
'sport_id' => '1'
),
(int) 89 => array(
'id' => '1292',
'country_id' => '0',
'name' => 'Italian Serie C Girone B',
'sport_id' => '1'
),
(int) 90 => array(
'id' => '1293',
'country_id' => '0',
'name' => 'Bahraini Pr. League',
'sport_id' => '1'
),
(int) 91 => array(
'id' => '1454',
'country_id' => '0',
'name' => 'Indian Super League',
'sport_id' => '1'
),
(int) 92 => array(
'id' => '1565',
'country_id' => '0',
'name' => 'Australian A-League',
'sport_id' => '1'
),
(int) 93 => array(
'id' => '1658',
'country_id' => '0',
'name' => 'New Zealand Premiership',
'sport_id' => '1'
),
(int) 94 => array(
'id' => '1675',
'country_id' => '0',
'name' => 'Portuguese Campeonato de Portugal',
'sport_id' => '1'
),
(int) 95 => array(
'id' => '1727',
'country_id' => '0',
'name' => 'Club World Cup',
'sport_id' => '1'
),
(int) 96 => array(
'id' => '1810',
'country_id' => '0',
'name' => 'Israeli Premier League W.',
'sport_id' => '1'
),
(int) 97 => array(
'id' => '1822',
'country_id' => '0',
'name' => 'Brazilian Carioca',
'sport_id' => '1'
),
(int) 98 => array(
'id' => '1966',
'country_id' => '0',
'name' => 'Nigerian Premier League',
'sport_id' => '1'
),
(int) 99 => array(
'id' => '2013',
'country_id' => '0',
'name' => 'Bangladesh Premier League',
'sport_id' => '1'
),
(int) 100 => array(
'id' => '2088',
'country_id' => '0',
'name' => 'Copa America',
'sport_id' => '1'
),
(int) 101 => array(
'id' => '2089',
'country_id' => '0',
'name' => 'African Nations Champs.',
'sport_id' => '1'
),
(int) 102 => array(
'id' => '2090',
'country_id' => '0',
'name' => 'FIFA Liga Pro',
'sport_id' => '1'
),
(int) 103 => array(
'id' => '2091',
'country_id' => '0',
'name' => 'Virtual Premier League',
'sport_id' => '1'
),
(int) 104 => array(
'id' => '2133',
'country_id' => '0',
'name' => 'Palestine West Bank League',
'sport_id' => '1'
),
(int) 105 => array(
'id' => '2148',
'country_id' => '0',
'name' => 'Spanish Seg. B Gr.5',
'sport_id' => '1'
)
)
)
$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