"Fossies" - the Fresh Open Source Software Archive

Member "icingaweb2-2.11.4/application/controllers/AboutController.php" (26 Jan 2023, 827 Bytes) of package /linux/www/icingaweb2-2.11.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "AboutController.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 /* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
    3 
    4 namespace Icinga\Controllers;
    5 
    6 use Icinga\Application\Icinga;
    7 use Icinga\Application\Version;
    8 use Icinga\Web\Controller;
    9 
   10 class AboutController extends Controller
   11 {
   12     public function indexAction()
   13     {
   14         $this->view->version = Version::get();
   15         $this->view->libraries = Icinga::app()->getLibraries();
   16         $this->view->modules = Icinga::app()->getModuleManager()->getLoadedModules();
   17         $this->view->title = $this->translate('About');
   18         $this->view->tabs = $this->getTabs()->add(
   19             'about',
   20             array(
   21                 'label' => $this->translate('About'),
   22                 'title' => $this->translate('About Icinga Web 2'),
   23                 'url'   => 'about'
   24             )
   25         )->activate('about');
   26     }
   27 }