protected function processListAction($messageBoxContent = null) { $breadCrumbLinks = array(Zurmo::t('JobsManagerModule', 'JobsManagerModuleSingularLabel', LabelUtil::getTranslationParamsForAllModules())); $view = new JobsManagerTitleBarAndListView($this->getId(), $this->getModule()->getId(), JobsToJobsCollectionViewUtil::getMonitorJobData(), JobsToJobsCollectionViewUtil::getNonMonitorJobsData(), $messageBoxContent); $view = new JobsManagerPageView(ZurmoDefaultAdminViewUtil::makeViewWithBreadcrumbsForCurrentUser($this, $view, $breadCrumbLinks, 'SettingsBreadCrumbView')); echo $view->render(); }
protected function processListAction($messageBoxContent = null) { $view = new JobsManagerTitleBarAndListView($this->getId(), $this->getModule()->getId(), JobsToJobsCollectionViewUtil::getMonitorJobData(), JobsToJobsCollectionViewUtil::getNonMonitorJobsData(), $messageBoxContent); $view = new JobsManagerPageView(ZurmoDefaultAdminViewUtil::makeStandardViewForCurrentUser($this, $view)); echo $view->render(); }
public function testGetMonitorJobData() { $data = JobsToJobsCollectionViewUtil::getMonitorJobData(); $this->assertEquals('Monitor Job', $data['label']); }