Source
173 }
174 }
175
176 function getRecentGalleryPost()
177 {
178 $projectURL = $this->request->param("ID");
179 //Debug::show($categoryURL);die();
180 $getGallery = DataObject::get_one('GalleryData', "URLSegment='".$projectURL."'");
181 $getCategoryPageID = $this->ID;
182 $result = GalleryData::get()->where("GalleryCategoryID ='".$getCategoryPageID."' AND ID <>'".$getGallery->ID."'")->sort('Created DESC')->limit(3);
183 return $result;
184 }
185 /*public function getAllProjectData(){
186 $result = ProjectData::get();
187 //Debug::show($result);die();
188 return $result;
Trace
- GalleryPage_Controller->getRecentGalleryPost()
ViewableData.php:361
- ViewableData->obj(getRecentGalleryPost,,1,,)
ViewableData.php:639
- ViewableData_Customised->obj(getRecentGalleryPost,,1,,)
SSViewer.php:91
- SSViewer_Scope->getObj(getRecentGalleryPost,,1,,)
SSViewer.php:513
- SSViewer_DataPresenter->getObj(getRecentGalleryPost,,1,,)
SSViewer.php:111
- SSViewer_Scope->obj(getRecentGalleryPost,,1)
.cache.themes.duniaburung.templates.Layout.GalleryDetailPage.ss:137
- include(/home/jasa5500/public_html/dunia-burung.jasamobileapp.com/silverstripe-cache/jasa5500/.cache.themes.duniaburung.templates.Layout.GalleryDetailPage.ss)
SSViewer.php:1033
- SSViewer->includeGeneratedTemplate(/home/jasa5500/public_html/dunia-burung.jasamobileapp.com/silverstripe-cache/jasa5500/.cache.themes.duniaburung.templates.Layout.GalleryDetailPage.ss,ViewableData_Customised,,Array,)
SSViewer.php:1100
- SSViewer->process(ViewableData_Customised,)
SSViewer.php:1096
- SSViewer->process(ViewableData_Customised,)
ViewableData.php:334
- ViewableData->renderWith(Array)
GalleryPage.php:126
- GalleryPage_Controller->view(SS_HTTPRequest)
RequestHandler.php:288
- RequestHandler->handleAction(SS_HTTPRequest,view)
Controller.php:194
- Controller->handleAction(SS_HTTPRequest,view)
RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:198
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:179
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:78
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:370
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:153
- Director::direct(/gallery/gallery-dna-sexing/view/jadwal-pengiriman-sample,DataModel)
main.php:184