|
@@ 2448-2453 (lines=6) @@
|
| 2445 |
|
$mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
| 2446 |
|
} |
| 2447 |
|
|
| 2448 |
|
if ( $mod['plan_classes'] ) { |
| 2449 |
|
$mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
| 2450 |
|
$mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
| 2451 |
|
} else { |
| 2452 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2453 |
|
} |
| 2454 |
|
|
| 2455 |
|
if ( $mod['feature'] ) { |
| 2456 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2455-2460 (lines=6) @@
|
| 2452 |
|
$mod['plan_classes'] = array( 'free' ); |
| 2453 |
|
} |
| 2454 |
|
|
| 2455 |
|
if ( $mod['feature'] ) { |
| 2456 |
|
$mod['feature'] = explode( ',', $mod['feature'] ); |
| 2457 |
|
$mod['feature'] = array_map( 'trim', $mod['feature'] ); |
| 2458 |
|
} else { |
| 2459 |
|
$mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
| 2460 |
|
} |
| 2461 |
|
|
| 2462 |
|
/** |
| 2463 |
|
* Filters the feature array on a module. |