Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
profilefield_website | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
depends_on | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 |
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\db\migration\data\v310; |
15 | |
16 | class profilefield_website extends \phpbb\db\migration\profilefield_base_migration |
17 | { |
18 | public static function depends_on() |
19 | { |
20 | return array( |
21 | '\phpbb\db\migration\data\v310\profilefield_on_memberlist', |
22 | '\phpbb\db\migration\data\v310\profilefield_icq_cleanup', |
23 | ); |
24 | } |
25 | |
26 | protected $profilefield_name = 'phpbb_website'; |
27 | |
28 | protected $profilefield_database_type = array('VCHAR', ''); |
29 | |
30 | protected $profilefield_data = array( |
31 | 'field_name' => 'phpbb_website', |
32 | 'field_type' => 'profilefields.type.url', |
33 | 'field_ident' => 'phpbb_website', |
34 | 'field_length' => '40', |
35 | 'field_minlen' => '12', |
36 | 'field_maxlen' => '255', |
37 | 'field_novalue' => '', |
38 | 'field_default_value' => '', |
39 | 'field_validation' => '', |
40 | 'field_required' => 0, |
41 | 'field_show_novalue' => 0, |
42 | 'field_show_on_reg' => 0, |
43 | 'field_show_on_pm' => 1, |
44 | 'field_show_on_vt' => 1, |
45 | 'field_show_on_ml' => 1, |
46 | 'field_show_profile' => 1, |
47 | 'field_hide' => 0, |
48 | 'field_no_view' => 0, |
49 | 'field_active' => 1, |
50 | 'field_is_contact' => 1, |
51 | 'field_contact_desc' => 'VISIT_WEBSITE', |
52 | 'field_contact_url' => '%s', |
53 | ); |
54 | |
55 | protected $user_column_name = 'user_website'; |
56 | } |