Code |
Context$results = array(
"id" => "745",
"media_id" => "75",
"author" => "4",
"pos" => "151",
"dirname" => "transformations",
"filename" => "DSCN2557_small_27-07-2010-10-03-46.jpg",
"detail" => "",
"enabled" => "1",
"trashed" => "0",
"created" => "2010-07-27 10:03:53",
"modified" => "2010-07-27 10:03:53"
)
$key = "detail"
$result = ""
function setFileDetail($results) {
foreach ($results as $key => $result):
if (isset($result['Image']['detail'])):
Image::setFileDetail() - APP/models/image.php, line 111
Image::afterFind() - APP/models/image.php, line 97
DboSource::queryAssociation() - CORE/cake/libs/model/datasources/dbo_source.php, line 880
DboSource::queryAssociation() - CORE/cake/libs/model/datasources/dbo_source.php, line 783
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 681
Model::find() - CORE/cake/libs/model/model.php, line 2031
TransformationsController::products() - APP/controllers/transformations_controller.php, line 17
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 95