"Fossies" - the Fresh Open Source Software Archive

Member "icingaweb2-2.7.3/application/controllers/AboutController.php" (18 Oct 2019, 763 Bytes) of package /linux/www/icingaweb2-2.7.3.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 and the last Fossies "Diffs" side-by-side code changes report: 2.6.3_vs_2.7.0.

    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->modules = Icinga::app()->getModuleManager()->getLoadedModules();
   16         $this->view->title = $this->translate('About');
   17         $this->view->tabs = $this->getTabs()->add(
   18             'about',
   19             array(
   20                 'label' => $this->translate('About'),
   21                 'title' => $this->translate('About Icinga Web 2'),
   22                 'url'   => 'about'
   23             )
   24         )->activate('about');
   25     }
   26 }