Code |
Context$user_id = null
$type = "read"
$id = "4bc54a86-fc54-4636-b7d9-6cf4c1acb699"
$result = array(
"Result" => array(
"id" => "4bc54a86-fc54-4636-b7d9-6cf4c1acb699",
"factory_id" => "4bc4ff22-51f0-431b-9d78-6a52c1acb699",
"filename" => "2 Inserting An Image Try.odt",
"path" => "testsuites/shah/2 Inserting An Image Try.odt/OpenOffice_org_3_2_1_beta_Linux_BSD",
"created" => "2010-04-14 06:54:30",
"updated" => "2010-04-14 06:54:50",
"format_id" => "496de976-9a10-403c-aa90-55e6c0a80105",
"mimetype_id" => "49940423-c8d8-458c-83b5-2dc7c0a80105",
"state" => "16",
"state_info" => "",
"verified" => "0",
"description" => "",
"description_html" => ""
),
"Job" => array(
"id" => null,
"request_id" => null,
"platform_id" => null,
"application_id" => null,
"version" => null,
"result_id" => null,
"factory_id" => null,
"locked" => null,
"created" => null,
"updated" => null,
"format_id" => null,
"state" => null,
"failures" => null
)
)
if (!empty($result)) {
return $this->Job->Request->checkAccess($user_id, $type, $result['Job']['Request']['id']);
Result::checkAccess() - APP/models/result.php, line 113
ResultsController::_getResult() - APP/controllers/results_controller.php, line 62
ResultsController::view() - APP/controllers/results_controller.php, line 102
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88
Code |
Context$status = "Location: http://www.officeshots.org/"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 615
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 596
ResultsController::_getResult() - APP/controllers/results_controller.php, line 64
ResultsController::view() - APP/controllers/results_controller.php, line 102
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88