public function loadIdentifier($identifier)
    {
        $result = false;

        $identifier = AnService::getIdentifier($identifier);

        //Get the path
        $path = $identifier->filepath;

        if ($path !== false) {
            $result = self::loadFile($path);
        }

        return $result;
    }
public function loadIdentifier($identifier)
    {
        $result = false;

        $identifier = AnService::getIdentifier($identifier);

        //Get the path
        $path = $identifier->filepath;

        if ($path !== false) {
            $result = self::loadFile($path);
        }

        return $result;
    }
public function loadIdentifier ( $ identifier ) { $ result = false ; $ identifier = AnService :: getIdentifier ( $ identifier ) ; //Get the path $ path = $ identifier -> filepath ; if ( $ path !== false ) { $ result = self :: loadFile ( $ path ) ; } return $ result ; }
Load a class based on an identifier

@param string|object The identifier or identifier object
@return boolean      Returns TRUE on success throws exception on failure
Load a class based on an identifier