code/class/registry/registry.php
public function getLocator($class)
    {
        $result = false;

        if(!false == $pos = strrpos($class, '\\'))
        {
            $namespace = substr($class, 0, $pos);

            if(isset($this->_namespaces[$namespace])) {
                $result = $this->_namespaces[$namespace];
            }
        }

        return $result;
    }
public function getLocator($class)
    {
        $result = false;

        if(!false == $pos = strrpos($class, '\\'))
        {
            $namespace = substr($class, 0, $pos);

            if(isset($this->_namespaces[$namespace])) {
                $result = $this->_namespaces[$namespace];
            }
        }

        return $result;
    }
public function getLocator ( $ class ) { $ result = false ; if ( ! false == $ pos = strrpos ( $ class , '\\' ) ) { $ namespace = substr ( $ class , 0 , $ pos ) ; if ( isset ( $ this -> _namespaces [ $ namespace ] ) ) { $ result = $ this -> _namespaces [ $ namespace ] ; } } return $ result ; }
Get a specific locator from the class namespace

@return string|false The name of the locator or FALSE if no locator could be found
Get a specific locator from the class namespace