[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/phpbb/install/helper/navigation/ -> install_navigation.php (source)

   1  <?php
   2  /**
   3   *
   4   * This file is part of the phpBB Forum Software package.
   5   *
   6   * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7   * @license GNU General Public License, version 2 (GPL-2.0)
   8   *
   9   * For full copyright and license information, please see
  10   * the docs/CREDITS.txt file.
  11   *
  12   */
  13  
  14  namespace phpbb\install\helper\navigation;
  15  
  16  use phpbb\install\helper\install_helper;
  17  
  18  class install_navigation implements navigation_interface
  19  {
  20      /**
  21       * @var install_helper
  22       */
  23      private $install_helper;
  24  
  25      /**
  26       * Constructor
  27       *
  28       * @param install_helper    $install_helper
  29       */
  30  	public function __construct(install_helper $install_helper)
  31      {
  32          $this->install_helper = $install_helper;
  33      }
  34  
  35      /**
  36       * {@inheritdoc}
  37       */
  38  	public function get()
  39      {
  40          if ($this->install_helper->is_phpbb_installed())
  41          {
  42              return array();
  43          }
  44  
  45          return array(
  46              'install'    => array(
  47                  'label'    => 'INSTALL',
  48                  'route'    => 'phpbb_installer_install',
  49                  'order'    => 1,
  50                  array(
  51                      'introduction'    => array(
  52                          'label'    => 'INTRODUCTION_TITLE',
  53                          'stage'    => true,
  54                          'order'    => 0,
  55                      ),
  56                      'requirements'    => array(
  57                          'label'    => 'STAGE_REQUIREMENTS',
  58                          'stage'    => true,
  59                          'order'    => 1,
  60                      ),
  61                      'obtain_data'    => array(
  62                          'label'    => 'STAGE_OBTAIN_DATA',
  63                          'stage'    => true,
  64                          'order'    => 2,
  65                      ),
  66                      'install'    => array(
  67                          'label'    => 'STAGE_INSTALL',
  68                          'stage'    => true,
  69                          'order'    => 3,
  70                      ),
  71                  ),
  72              ),
  73          );
  74      }
  75  }


Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1