示例#1
0
 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());
 }
示例#4
0
文件: sets.php 项目: nveid/concrete5
 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);
 }
示例#5
0
 public function on_start()
 {
     $this->addHeaderItem(Loader::helper('html')->javascript('jquery.cookie.js'));
     parent::on_start();
 }
示例#6
0
 public function on_start()
 {
     $this->set('importers', MailImporter::getList());
     parent::on_start();
 }
示例#7
0
文件: add.php 项目: ronlobo/concrete5
 public function on_start()
 {
     parent::on_start();
     $this->set("icons", CollectionType::getIcons());
 }