code/libraries/joomlatools/library/class/registry/registry.php
public function find($class)
    {
        //Resolve the real identifier in case an alias was passed
        while(array_key_exists($class, $this->_aliases)) {
            $class = $this->_aliases[$class];
        }

        //Find the identifier
        if($this->offsetExists($class)) {
            $result = $this->offsetGet($class);
        } else {
            $result = null;
        }

        return $result;
    }
public function find($class)
    {
        //Resolve the real identifier in case an alias was passed
        while(array_key_exists($class, $this->_aliases)) {
            $class = $this->_aliases[$class];
        }

        //Find the identifier
        if($this->offsetExists($class)) {
            $result = $this->offsetGet($class);
        } else {
            $result = null;
        }

        return $result;
    }
public function find ( $ class ) { //Resolve the real identifier in case an alias was passed while ( array_key_exists ( $ class , $ this -> _aliases ) ) { $ class = $ this -> _aliases [ $ class ] ; } //Find the identifier if ( $ this -> offsetExists ( $ class ) ) { $ result = $ this -> offsetGet ( $ class ) ; } else { $ result = null ; } return $ result ; }
Try to find an class path based on a class name

@param   string  $class
@return  string The class path, or NULL if the class is not registered
Try to find an class path based on a class name