|
@@ 2495-2500 (lines=6) @@
|
| 2492 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2493 |
|
} |
| 2494 |
|
|
| 2495 |
|
if ( $mod['plan_classes'] ) { |
| 2496 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2497 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2498 |
|
} else { |
| 2499 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2500 |
|
} |
| 2501 |
|
|
| 2502 |
|
if ( $mod['feature'] ) { |
| 2503 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2502-2507 (lines=6) @@
|
| 2499 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2500 |
|
} |
| 2501 |
|
|
| 2502 |
|
if ( $mod['feature'] ) { |
| 2503 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2504 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2505 |
|
} else { |
| 2506 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2507 |
|
} |
| 2508 |
|
|
| 2509 |
|
/** |
| 2510 |
|
* Filters the feature array on a module. |