/** * Get a list of templates to call and return a default render with */ public function iid() { $this->customise(array("ProductImage" => $this->getImageForProduct())); $this->extend("onBeforeIID"); $classes = CatalogueHelper::get_templates_for_class($this->dataRecord->class); return $this->renderWith($classes); }
/** * Get a list of templates to call and return a default render with */ public function index() { $this->extend("onBeforeIndex"); $classes = CatalogueHelper::get_templates_for_class($this->dataRecord->class); return $this->renderWith($classes); }