Code |
Context$conditions = array(
"confirmed" => 1,
"(select count(*) from schools School where School.country_id = Country.id) >0"
)
$searchTerm = ""
$displayYears = array(
2009,
2010
)
$status = array(
"1st" => "1st",
"2nd" => "2nd",
"3rd" => "3rd"
)
$disciplines = array(
"Fashion",
"Music",
"Photography",
"Video",
"Visual arts"
)
$students = array(
array(
"Student" => array(),
"School" => array(),
"Work" => array()
),
array(
"Student" => array(),
"School" => array(),
"Work" => array()
),
array(
"Student" => array(),
"School" => array(),
"Work" => array()
)
)
$countries = array(
"AM" => "Armenia",
"AT" => "Austria",
"BE" => "Belgium",
"BG" => "Bulgaria",
"HR" => "Croatia",
"CY" => "Cyprus",
"CZ" => "Czech Republic",
"EE" => "Estonia",
"FR" => "France",
"DE" => "Germany",
"GR" => "Greece",
"HU" => "Hungary",
"IT" => "Italy",
"LV" => "Latvia",
"NL" => "Netherlands",
"PL" => "Poland",
"PT" => "Portugal",
"RO" => "Romania",
"CS" => "Serbia",
"SK" => "Slovakia",
"SI" => "Slovenia",
"ES" => "Spain",
"SE" => "Sweden",
"CH" => "Switzerland",
"GB" => "United Kingdom",
"BAL" => "Baltics"
)
$countries = $this->Student->School->Country->find('list', compact('conditions') );
$searchTerm = $this->params['url']['s'];
StudentsController::index() - APP/controllers/students_controller.php, line 174
Object::dispatchMethod() - ROOT/cake/libs/object.php, line 116
Dispatcher::_invoke() - ROOT/cake/dispatcher.php, line 227
Dispatcher::dispatch() - ROOT/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 91