public function getEnabledExtensions()
    {
        $returnValue = array();

        $enabled = $this->getExtensionById('generis')->getConfig(self::EXTENSIONS_CONFIG_KEY);
        foreach ($this->getInstalledExtensions() as $ext) {
            if (isset($enabled[$ext->getId()]) && $enabled[$ext->getId()]['enabled']) {
                $returnValue[$ext->getId()] = $ext;
            }
        }
    
        return (array) $returnValue;
    }
public function getEnabledExtensions()
    {
        $returnValue = array();

        $enabled = $this->getExtensionById('generis')->getConfig(self::EXTENSIONS_CONFIG_KEY);
        foreach ($this->getInstalledExtensions() as $ext) {
            if (isset($enabled[$ext->getId()]) && $enabled[$ext->getId()]['enabled']) {
                $returnValue[$ext->getId()] = $ext;
            }
        }
    
        return (array) $returnValue;
    }
public function getEnabledExtensions ( ) { $ returnValue = array ( ) ; $ enabled = $ this -> getExtensionById ( 'generis' ) -> getConfig ( self :: EXTENSIONS_CONFIG_KEY ) ; foreach ( $ this -> getInstalledExtensions ( ) as $ ext ) { if ( isset ( $ enabled [ $ ext -> getId ( ) ] ) && $ enabled [ $ ext -> getId ( ) ] [ 'enabled' ] ) { $ returnValue [ $ ext -> getId ( ) ] = $ ext ; } } return ( array ) $ returnValue ; }
Get the set of currently enabled extensions. This method
returns an array of common_ext_Extension.

@access public
@author Joel Bout, <joel@taotesting.com>
@return array
Get the set of currently enabled extensions . This method returns an array of common_ext_Extension .