Code |
Context$type = 2
$name = null
$params = array(
"conditions" => array(
"type_id" => 2,
"academy_id" => array(),
"is_available" => 1
),
"order" => "Person.position ASC"
)
$people = array()
$person = $this->Person->find('first', $params);
} else {
$person = $people[0];
PeopleController::get() - APP/controllers/people_controller.php, line 79
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84