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