public function renderDetails($tpl = null) { $attachmentModel = new JeproshopAttachmentModelAttachment(); $attachments = $attachmentModel->getAttachmentsList(); $this->assignRef('attachments', $attachments); $pagination = $attachmentModel->getPagination(); $this->assignRef('pagination', $pagination); $this->addToolBar(); $this->sideBar = JHtmlSideBar::render(); parent::display($tpl); }