|
@@ 2658-2663 (lines=6) @@
|
| 2655 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2656 |
|
} |
| 2657 |
|
|
| 2658 |
|
if ( $mod['plan_classes'] ) { |
| 2659 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2660 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2661 |
|
} else { |
| 2662 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2663 |
|
} |
| 2664 |
|
|
| 2665 |
|
if ( $mod['feature'] ) { |
| 2666 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2665-2670 (lines=6) @@
|
| 2662 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2663 |
|
} |
| 2664 |
|
|
| 2665 |
|
if ( $mod['feature'] ) { |
| 2666 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2667 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2668 |
|
} else { |
| 2669 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2670 |
|
} |
| 2671 |
|
|
| 2672 |
|
/** |
| 2673 |
|
* Filters the feature array on a module. |