Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

convertor_navigation.php

Zuletzt modifiziert: 02.04.2025, 15:02 - Dateigröße: 1.50 KiB


01  <?php
02  /**
03   *
04   * This file is part of the phpBB Forum Software package.
05   *
06   * @copyright (c) phpBB Limited <https://www.phpbb.com>
07   * @license GNU General Public License, version 2 (GPL-2.0)
08   *
09   * 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  }
79