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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
profilefield_occupation.php
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\db\migration\data\v310;
15
16 class profilefield_occupation extends \phpbb\db\migration\profilefield_base_migration
17 {
18 static public function depends_on()
19 {
20 return array(
21 '\phpbb\db\migration\data\v310\profilefield_interests',
22 );
23 }
24
25 protected $profilefield_name = 'phpbb_occupation';
26
27 protected $profilefield_database_type = array('MTEXT', '');
28
29 protected $profilefield_data = array(
30 'field_name' => 'phpbb_occupation',
31 'field_type' => 'profilefields.type.text',
32 'field_ident' => 'phpbb_occupation',
33 'field_length' => '3|30',
34 'field_minlen' => '2',
35 'field_maxlen' => '500',
36 'field_novalue' => '',
37 'field_default_value' => '',
38 'field_validation' => '.*',
39 'field_required' => 0,
40 'field_show_novalue' => 0,
41 'field_show_on_reg' => 0,
42 'field_show_on_pm' => 0,
43 'field_show_on_vt' => 0,
44 'field_show_profile' => 1,
45 'field_hide' => 0,
46 'field_no_view' => 0,
47 'field_active' => 1,
48 );
49
50 protected $user_column_name = 'user_occ';
51 }
52