[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/phpbb/install/helper/navigation/ -> convertor_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 convertor_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              'convert'    => array(
  47                  'label'    => 'CONVERT',
  48                  'route'    => 'phpbb_convert_intro',
  49                  'order'    => 3,
  50                  array(
  51                      'intro'    => array(
  52                          'label'    => 'SUB_INTRO',
  53                          'stage'    => true,
  54                          'order'    => 0,
  55                      ),
  56                      'settings'    => array(
  57                          'label'    => 'STAGE_SETTINGS',
  58                          'stage'    => true,
  59                          'route'    => 'phpbb_convert_settings',
  60                          'order'    => 1,
  61                      ),
  62                      'convert'    => array(
  63                          'label'    => 'STAGE_IN_PROGRESS',
  64                          'stage'    => true,
  65                          'route'    => 'phpbb_convert_convert',
  66                          'order'    => 2,
  67                      ),
  68                      'finish'    => array(
  69                          'label'    => 'CONVERT_COMPLETE',
  70                          'stage'    => true,
  71                          'route'    => 'phpbb_convert_finish',
  72                          'order'    => 3,
  73                      ),
  74                  ),
  75              ),
  76          );
  77      }
  78  }


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