public function init() { parent::init(); if (!LOCAL) { exit(Ibos::lang("Not compatible service", "message")); } }
function on_start() { parent::on_start(); $this->set('availableJobs', Job::getAvailableList(0)); $this->set('installedJobs', Job::getList()); $this->set('jobSets', JobSet::getList()); $this->set('auth', Job::generateAuth()); }
public function on_start() { parent::on_start(); $this->addHeaderItem("<script type=\"text/javascript\">\$(function() { \$('.dialog-launch').dialog();});</script>"); $this->categories = WorkflowProgressCategory::getList(); foreach ($this->categories as $cat) { $this->categoryHandles[] = $cat->getWorkflowProgressCategoryHandle(); } }
public function on_start() { parent::on_start(); Loader::model('stack/list'); $stm = new StackList(); $stm->filterByGlobalAreas(); $this->set('globalareas', $stm->get()); $stm = new StackList(); $stm->filterByUserAdded(); $this->set('useradded', $stm->get()); }
public function on_start() { parent::on_start(); $this->set('groupSets', GroupSet::getList()); $gl = new GroupSearch(); $gl->setItemsPerPage(10000); $gArray = $gl->getPage(); $groups = array(); foreach ($gArray as $g) { $groups[] = Group::getByID($g['gID']); } $this->set('groups', $groups); }
public function on_start() { $this->addHeaderItem(Loader::helper('html')->javascript('jquery.cookie.js')); parent::on_start(); }
public function on_start() { $this->set('importers', MailImporter::getList()); parent::on_start(); }
public function on_start() { parent::on_start(); $this->set("icons", CollectionType::getIcons()); }
public function on_before_render() { $this->addHeaderItem(Loader::helper('html')->css('dashboard/multilingual.css', 'multilingual')); parent::on_before_render(); }