Source
305 ));
306 $Product->write();
307 $this->updateRecentlyViewedCookie($Product->Ref);
308
309 return $this->customise($Data)->renderWith(array('Product', 'Page'));
310 }
311 // XML Feed Property
312 elseif(is_string($Product)){
313 $property = $this->OtherProperties($Product);
314 $this->updateRecentlyViewedCookie($property->Ref);
315 return $this->renderWith(array('XMLProduct','Page'),array('Product'=>$property));
316 }
317 else{
318 return $this->httpError(404, 'Sorry this product could not be found');
319 }
320 }
Trace
- ProductCategoryPage_Controller->view(SS_HTTPRequest)
RequestHandler.php:288
- RequestHandler->handleAction(SS_HTTPRequest,view)
Controller.php:205
- Controller->handleAction(SS_HTTPRequest,view)
RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:158
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:174
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:154
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:75
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:385
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:149
- Director::direct(/properties-for-sale-2/finca/view/OKP1707,DataModel)
main.php:188