|
@@ 2476-2481 (lines=6) @@
|
| 2473 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2474 |
|
} |
| 2475 |
|
|
| 2476 |
|
if ( $mod['plan_classes'] ) { |
| 2477 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2478 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2479 |
|
} else { |
| 2480 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2481 |
|
} |
| 2482 |
|
|
| 2483 |
|
if ( $mod['feature'] ) { |
| 2484 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2483-2488 (lines=6) @@
|
| 2480 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2481 |
|
} |
| 2482 |
|
|
| 2483 |
|
if ( $mod['feature'] ) { |
| 2484 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2485 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2486 |
|
} else { |
| 2487 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2488 |
|
} |
| 2489 |
|
|
| 2490 |
|
/** |
| 2491 |
|
* Filters the feature array on a module. |