|
@@ 2525-2530 (lines=6) @@
|
| 2522 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2523 |
|
} |
| 2524 |
|
|
| 2525 |
|
if ( $mod['plan_classes'] ) { |
| 2526 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2527 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2528 |
|
} else { |
| 2529 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2530 |
|
} |
| 2531 |
|
|
| 2532 |
|
if ( $mod['feature'] ) { |
| 2533 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2532-2537 (lines=6) @@
|
| 2529 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2530 |
|
} |
| 2531 |
|
|
| 2532 |
|
if ( $mod['feature'] ) { |
| 2533 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2534 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2535 |
|
} else { |
| 2536 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2537 |
|
} |
| 2538 |
|
|
| 2539 |
|
/** |
| 2540 |
|
* Filters the feature array on a module. |