code/object/bootstrapper/bootstrapper.php
public function getComponents($domain = null)
    {
        $components = $result = array_keys($this->_components);

        if($domain)
        {
            foreach($components as $key => $component)
            {
                if(strpos($component, 'com://'.$domain) === false) {
                    unset($components[$key]);
                }
            }
        }

        return $components;
    }
public function getComponents($domain = null)
    {
        $components = $result = array_keys($this->_components);

        if($domain)
        {
            foreach($components as $key => $component)
            {
                if(strpos($component, 'com://'.$domain) === false) {
                    unset($components[$key]);
                }
            }
        }

        return $components;
    }
public function getComponents ( $ domain = null ) { $ components = $ result = array_keys ( $ this -> _components ) ; if ( $ domain ) { foreach ( $ components as $ key => $ component ) { if ( strpos ( $ component , 'com://' . $ domain ) === false ) { unset ( $ components [ $ key ] ) ; } } } return $ components ; }
Get the registered components

@param string $domain  The component domain. Domain is optional and can be NULL
@return array
Get the registered components