Source
755 $listData['Introtext']=Lib::splitString(Lib::getStringIntrotext($item->Introtext),$this->count_number,'...');
756 $dataObject->push(new ArrayData($listData));
757 }
758 $value=$dataObject;
759 }
760 }
761 }else{
762 //lay sanh sach san pham tu catID
763 $obIdCategory=DataObject::get_one('P_categories',"Alias='$alias'");
764 $valueData=DataObject::get('Products',"catID='$obIdCategory->ID'","ID ASC");
765 if($valueData){
766 foreach($valueData as $item){
767 $listData['Title']=$item->Title;
768 $listData['Introtext']=$item->Introtext;
769 $listData['Image']=Lib::getImages($item->ImageID);
770 $listData['Link']=Lib::getURLSegmentByClassName('ProductPage').'/details/'.$item->Alias.'.html';
Trace
- ProductPage_Controller->getContentCategory()
Line 369 of ViewableData.php
- ViewableData->obj(getContentCategory,,,1,)
Line 411 of ViewableData.php
- ViewableData->cachedCall(getContentCategory,,)
Line 812 of ViewableData.php
- ViewableData_Customised->cachedCall(getContentCategory,)
Line 424 of ViewableData.php
- ViewableData->hasValue(getContentCategory)
Line 163 of .cache.bproducts.templates.Layout.ProductPage_danhmuc.ss
- include(/data/sites/web/portuvinhobe/www/silverstripe-cache/.cache.bproducts.templates.Layout.ProductPage_danhmuc.ss)
Line 430 of SSViewer.php
- SSViewer->process(ViewableData_Customised,Zend_Cache_Frontend_Output)
Line 421 of SSViewer.php
- SSViewer->process(ViewableData_Customised)
Line 342 of ViewableData.php
- ViewableData->renderWith(Array)
Line 52 of ProductPage.php
- ProductPage_Controller->viewPageProduct(SS_HTTPRequest)
Line 143 of RequestHandler.php
- RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
- Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
- ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
- ModelAsController->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
- Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
- Director::direct(/ons-aanbod/Wijnen/herdade-fonte-paredes-15.html)
Line 127 of main.php