Source
308 ));
309 $Product->write();
310 $this->updateRecentlyViewedCookie($Product->Ref);
311
312 return $this->customise($Data)->renderWith(array('Product', 'Page'));
313 }
314 // XML Feed Property
315 elseif(is_string($Product)){
316 $property = $this->OtherProperties($Product);
317 $this->updateRecentlyViewedCookie($property->Ref);
318 return $this->renderWith(array('XMLProduct','Page'),array('Product'=>$property));
319 }
320 else{
321 return $this->httpError(404, 'Sorry this product could not be found');
322 }
323 }
Trace
- ProductSearchPage_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)
ModelAsController.php:75
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:385
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:149
- Director::direct(/our-properties/view/2440,DataModel)
main.php:188