icingaweb2/modules/doc/application/controllers/IndexController.php

28 lines
619 B
PHP
Raw Permalink Normal View History

2013-10-16 08:45:23 -04:00
<?php
/* Icinga Web 2 | (c) 2013 Icinga Development Team | GPLv2+ */
2013-10-16 08:45:23 -04:00
namespace Icinga\Module\Doc\Controllers;
use Icinga\Module\Doc\DocController;
2016-01-11 05:20:42 -05:00
use Icinga\Web\Url;
2013-10-16 08:45:23 -04:00
2015-08-27 08:38:36 -04:00
/**
* Documentation module index
*/
class IndexController extends DocController
2013-10-16 08:45:23 -04:00
{
2015-08-27 08:38:36 -04:00
/**
* Documentation module landing page
*
* Lists documentation links
*/
public function indexAction()
{
2016-01-11 05:20:42 -05:00
$this->getTabs()->add('documentation', array(
'active' => true,
'title' => $this->translate('Documentation', 'Tab title'),
'url' => Url::fromRequest()
));
}
2013-10-16 08:45:23 -04:00
}