setConfigTabs()->activate('activitylog'); $this->view->title = $this->translate('Activity Log'); $this->view->table = $this->applyPaginationLimits( $this->loadTable('activityLog')->setConnection($this->db()) ); $this->render('table'); } public function datalistAction() { $this->view->addLink = $this->view->qlink( $this->translate('Add list'), 'director/datalist/add' ); $this->setConfigTabs()->activate('datalist'); $this->view->title = $this->translate('Data lists'); $this->view->table = $this->applyPaginationLimits( $this->loadTable('datalist')->setConnection($this->db()) ); $this->render('table'); } public function importsourceAction() { $this->view->addLink = $this->view->qlink( $this->translate('Add import source'), 'director/importsource/add' ); $this->setImportTabs()->activate('importsource'); $this->view->title = $this->translate('Import source'); $this->view->table = $this->applyPaginationLimits( $this->loadTable('importsource')->setConnection($this->db()) ); $this->render('table'); } public function importrunAction() { $this->setImportTabs()->activate('importrun'); $this->view->title = $this->translate('Import runs'); $this->view->stats = $this->db()->fetchImportStatistics(); $this->view->table = $this->applyPaginationLimits( $this->loadTable('importrun')->setConnection($this->db()) ); } public function syncruleAction() { $this->view->addLink = $this->view->qlink( $this->translate('Add sync rule'), 'director/syncrule/add' ); $this->setImportTabs()->activate('syncrule'); $this->view->title = $this->translate('Sync rule'); $this->view->table = $this->loadTable('syncrule')->setConnection($this->db()); $this->render('table'); } public function syncpropertyAction() { $this->view->addLink = $this->view->qlink( $this->translate('Add sync property rule'), 'director/syncproperty/add' ); $this->setImportTabs()->activate('syncproperty'); $this->view->title = $this->translate('Sync property'); $this->view->table = $this->loadTable('syncproperty')->setConnection($this->db()); $this->render('table'); } public function datalistentryAction() { $listId = $this->params->get('list_id'); $this->view->lastId = $listId; $this->view->addLink = $this->view->qlink( $this->translate('Add entry'), 'director/datalistentry/add' . '?list_id=' . $listId ); $this->view->title = $this->translate('List entries'); $this->getTabs()->add('editlist', array( 'url' => 'director/datalist/edit' . '?id=' . $listId, 'label' => $this->translate('Edit list'), ))->add('datalistentry', array( 'url' => 'director/datalistentry' . '?list_id=' . $listId, 'label' => $this->view->title, ))->activate('datalistentry'); $this->view->table = $this->applyPaginationLimits( $this->loadTable('datalistEntry')->setConnection($this->db()) ); $this->render('table'); } public function datafieldAction() { $this->view->addLink = $this->view->qlink( $this->translate('Add field'), 'director/datafield/add' ); $this->setConfigTabs()->activate('datafield'); $this->view->title = $this->translate('Data fields'); $this->view->table = $this->applyPaginationLimits( $this->loadTable('datafield')->setConnection($this->db()) ); $this->render('table'); } public function generatedconfigAction() { $this->view->addLink = $this->view->qlink( $this->translate('Generate'), 'director/config/store' ); $this->setConfigTabs()->activate('generatedconfig'); $this->view->title = $this->translate('Generated Configs'); $this->view->table = $this->applyPaginationLimits( $this->loadTable('generatedConfig')->setConnection($this->db()) ); $this->render('table'); } }