icingaweb2-module-director/application/controllers/ImportrunController.php

26 lines
906 B
PHP
Raw Normal View History

2015-07-26 15:39:37 +02:00
<?php
use Icinga\Module\Director\Web\Controller\ActionController;
use Icinga\Module\Director\Web\Hook\ImportSourceHook;
use Icinga\Module\Director\Util;
use Icinga\Module\Director\Objects\ImportSource;
use Icinga\Module\Director\Import\Import;
use Icinga\Exception\InvalidPropertyException;
use Icinga\Web\Notification;
class Director_ImportrunController extends ActionController
{
public function indexAction()
{
$this->view->title = $this->translate('Import run');
2015-08-28 23:56:25 +02:00
$table = $this->loadTable('importedrows')
->setConnection($this->db())
->setChecksum(
$this->db()->getImportrunRowsetChecksum($this->params->get('id'))
);
$this->view->table = $this->applyPaginationLimits($table);
$this->view->filterEditor = $table->getFilterEditor($this->getRequest());
2015-07-26 15:39:37 +02:00
$this->render('list/table', null, true);
}
}