code/libraries/joomlatools/library/object/bootstrapper/bootstrapper.php
public function getComponentPath($name, $domain = null)
    {
        $result = null;

        $identifier = $this->getComponentIdentifier($name, $domain);
        if(isset($this->_components[$identifier])) {
            $result = $this->_components[$identifier];
        }

        return $result;
    }
public function getComponentPath($name, $domain = null)
    {
        $result = null;

        $identifier = $this->getComponentIdentifier($name, $domain);
        if(isset($this->_components[$identifier])) {
            $result = $this->_components[$identifier];
        }

        return $result;
    }
public function getComponentPath ( $ name , $ domain = null ) { $ result = null ; $ identifier = $ this -> getComponentIdentifier ( $ name , $ domain ) ; if ( isset ( $ this -> _components [ $ identifier ] ) ) { $ result = $ this -> _components [ $ identifier ] ; } return $ result ; }
Get a registered component path

@param string $name    The component name
@param string $domain  The component domain. Domain is optional and can be NULL
@return string Returns the component path if the component is registered. FALSE otherwise
Get a registered component path