2013-10-16 08:45:23 -04:00
|
|
|
<?php
|
2026-03-26 12:46:27 -04:00
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
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
|
|
|
}
|