|
@@ 2567-2572 (lines=6) @@
|
| 2564 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2565 |
|
} |
| 2566 |
|
|
| 2567 |
|
if ( $mod['plan_classes'] ) { |
| 2568 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2569 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2570 |
|
} else { |
| 2571 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2572 |
|
} |
| 2573 |
|
|
| 2574 |
|
if ( $mod['feature'] ) { |
| 2575 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2574-2579 (lines=6) @@
|
| 2571 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2572 |
|
} |
| 2573 |
|
|
| 2574 |
|
if ( $mod['feature'] ) { |
| 2575 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2576 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2577 |
|
} else { |
| 2578 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2579 |
|
} |
| 2580 |
|
|
| 2581 |
|
/** |
| 2582 |
|
* Filters the feature array on a module. |