code/libraries/joomlatools/library/object/locator/abstract.php
public function find(array $info, $fallback = true)
    {
        $result = false;

        //Find the class
        foreach($this->_sequence as $template)
        {
            $class = str_replace(
                array('<Package>'     ,'<Path>'      ,'<File>'      , '<Class>'),
                array($info['package'], $info['path'], $info['file'], $info['class']),
                $template
            );

            if(class_exists($class))
            {
                $result = $class;
                break;
            }

            if(!$fallback) {
                break;
            }
        }

        return $result;
    }
public function find(array $info, $fallback = true)
    {
        $result = false;

        //Find the class
        foreach($this->_sequence as $template)
        {
            $class = str_replace(
                array('<Package>'     ,'<Path>'      ,'<File>'      , '<Class>'),
                array($info['package'], $info['path'], $info['file'], $info['class']),
                $template
            );

            if(class_exists($class))
            {
                $result = $class;
                break;
            }

            if(!$fallback) {
                break;
            }
        }

        return $result;
    }
public function find ( array $ info , $ fallback = true ) { $ result = false ; //Find the class foreach ( $ this -> _sequence as $ template ) { $ class = str_replace ( array ( '<Package>' , '<Path>' , '<File>' , '<Class>' ) , array ( $ info [ 'package' ] , $ info [ 'path' ] , $ info [ 'file' ] , $ info [ 'class' ] ) , $ template ) ; if ( class_exists ( $ class ) ) { $ result = $ class ; break ; } if ( ! $ fallback ) { break ; } } return $ result ; }
Find a class

@param array  $info      The class information
@param bool   $fallback  If TRUE use the fallback sequence
@return bool|mixed
Find a class