protected function renderContent() { if ($this->messageBoxContent != null) { JNotify::addMessage('FlashMessageBar', $this->messageBoxContent, 'JobsCollectionMessage'); } $content = '<div>'; $content .= $this->renderTitleContent(); $content .= '<div class="wide form">'; $clipWidget = new ClipWidget(); list($form, $formStart) = $clipWidget->renderBeginWidget('ZurmoActiveForm', array('id' => 'jobs-collection-form')); $content .= $formStart; $content .= $this->renderFormLayout($form); $content .= $this->renderViewToolBar(); $content .= $clipWidget->renderEndWidget(); $content .= '</div></div>'; $this->renderScripts(); return $content; }
protected function renderAlertMessage() { if (!empty($this->alertMessage)) { JNotify::addMessage('FlashMessageBar', $this->alertMessage, 'MassEditAlertMessage'); } }