1 | <?php |
||
13 | class v322_m8_update_bbcodes extends bbcodes_migration_base |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | public static function depends_on() |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function update_data() |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | protected static $bbcode_data = array( |
||
37 | 'align=' => array( |
||
38 | 'bbcode_helpline' => 'ABBC3_ALIGN_HELPLINE', |
||
39 | 'bbcode_match' => '[align={IDENTIFIER}]{TEXT}[/align]', |
||
40 | 'bbcode_tpl' => '<div style="text-align:{IDENTIFIER}">{TEXT}</div>', |
||
41 | ), |
||
42 | ); |
||
43 | } |
||
44 |