lib/IXF/ApiResource.php
public static function retrieve( $resource, $id )
    {
        $instance = self::resolveClass( $resource, $id );
        $instance->refresh( $resource );
        return $instance;
    }
public static function retrieve( $resource, $id )
    {
        $instance = self::resolveClass( $resource, $id );
        $instance->refresh( $resource );
        return $instance;
    }
public static function retrieve ( $ resource , $ id ) { $ instance = self :: resolveClass ( $ resource , $ id ) ; $ instance -> refresh ( $ resource ) ; return $ instance ; }
Retrieve an object by ID

@param string $resource The resource - e.g. ''IXP''
@param int    $id       ID of the object
@return ApiResouce
@throws Error\NotFound If the requested object does not exist
Retrieve an object by ID