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

23 lines
772 B
PHP
Raw Normal View History

2015-07-26 15:39:37 +02:00
<?php
2015-10-20 22:34:04 +02:00
namespace Icinga\Module\Director\Controllers;
2015-07-26 15:39:37 +02:00
use Icinga\Module\Director\Web\Controller\ActionController;
2015-10-20 22:34:04 +02:00
class ImportrunController extends ActionController
2015-07-26 15:39:37 +02:00
{
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->table->enforceFilter('id', $this->params->shift('id'));
2015-09-14 16:25:43 +02:00
// $this->view->filterEditor = $table->getFilterEditor($this->getRequest());
2015-07-26 15:39:37 +02:00
$this->render('list/table', null, true);
}
}