2013-10-16 08:45:23 -04:00
|
|
|
<?php
|
2016-02-08 09:41:00 -05:00
|
|
|
/* Icinga Web 2 | (c) 2013 Icinga Development Team | GPLv2+ */
|
2013-10-16 08:45:23 -04:00
|
|
|
|
2015-08-27 08:37:44 -04:00
|
|
|
namespace Icinga\Module\Doc\Controllers;
|
|
|
|
|
|
2014-05-27 09:09:43 -04:00
|
|
|
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
|
|
|
|
|
*/
|
2015-08-27 08:37:44 -04:00
|
|
|
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
|
|
|
|
|
*/
|
2014-11-20 09:29:46 -05:00
|
|
|
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()
|
|
|
|
|
));
|
2014-11-20 09:29:46 -05:00
|
|
|
}
|
2013-10-16 08:45:23 -04:00
|
|
|
}
|