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

28 lines
619 B
PHP
Raw Normal View History

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