public function findClass(AnServiceIdentifier $identifier)
    {
        $classpath = AnInflector::camelize(implode('_', $identifier->path));
        $classname = 'Plg'.ucfirst($identifier->package).$classpath.ucfirst($identifier->name);

        //Don't allow the auto-loader to load plugin classes if they don't exists yet
        if (!class_exists($classname)) {
            $classname = false;
        }

        return $classname;
    }
public function findClass(AnServiceIdentifier $identifier)
    {
        $classpath = AnInflector::camelize(implode('_', $identifier->path));
        $classname = 'Plg'.ucfirst($identifier->package).$classpath.ucfirst($identifier->name);

        //Don't allow the auto-loader to load plugin classes if they don't exists yet
        if (!class_exists($classname)) {
            $classname = false;
        }

        return $classname;
    }
public function findClass ( AnServiceIdentifier $ identifier ) { $ classpath = AnInflector :: camelize ( implode ( '_' , $ identifier -> path ) ) ; $ classname = 'Plg' . ucfirst ( $ identifier -> package ) . $ classpath . ucfirst ( $ identifier -> name ) ; //Don't allow the auto-loader to load plugin classes if they don't exists yet if ( ! class_exists ( $ classname ) ) { $ classname = false ; } return $ classname ; }
Get the classname based on an identifier

@param  mixed  		 An identifier object - plg.type.plugin.[.path].name
@return string|false  Return object on success, returns FALSE on failure
Get the classname based on an identifier