@@ 445-451 (lines=7) @@ | ||
442 | // first time to get configs for this module so read them all into an array |
|
443 | $modOptions[$repmodule] = $modHelper->getConfig(); |
|
444 | // now return the specific config/option requested |
|
445 | if (null == $option) { // return the array if no specific option was requested |
|
446 | return $modOptions[$repmodule]; |
|
447 | } elseif (isset($modOptions[$repmodule][$option])) { |
|
448 | return $modOptions[$repmodule][$option]; |
|
449 | } else { |
|
450 | return null; |
|
451 | } |
|
452 | } else { |
|
453 | // module options are in 'cache' so see if the one requested is valid |
|
454 | if (null == $option) { // return the array if no specific option was requested |
|
@@ 452-461 (lines=10) @@ | ||
449 | } else { |
|
450 | return null; |
|
451 | } |
|
452 | } else { |
|
453 | // module options are in 'cache' so see if the one requested is valid |
|
454 | if (null == $option) { // return the array if no specific option was requested |
|
455 | return $modOptions[$repmodule]; |
|
456 | } elseif (isset($modOptions[$repmodule][$option])) { |
|
457 | return $modOptions[$repmodule][$option]; |
|
458 | } else { |
|
459 | return null; |
|
460 | } |
|
461 | } |
|
462 | ||
463 | return null; |
|
464 | /* |