lib/IXF/ApiResource.php
public static function all( $resource, $params=null )
    {
        self::_validateCall('all', $params);
        $requestor = new ApiRequestor();
        $url = '/' . $resource;
        $response = $requestor->request('get', $url, $params);
        return Util::convertToIxfObject($response);
    }
public static function all( $resource, $params=null )
    {
        self::_validateCall('all', $params);
        $requestor = new ApiRequestor();
        $url = '/' . $resource;
        $response = $requestor->request('get', $url, $params);
        return Util::convertToIxfObject($response);
    }
public static function all ( $ resource , $ params = null ) { self :: _validateCall ( 'all' , $ params ) ; $ requestor = new ApiRequestor ( ) ; $ url = '/' . $ resource ; $ response = $ requestor -> request ( 'get' , $ url , $ params ) ; return Util :: convertToIxfObject ( $ response ) ; }
Get all objects of a given resource

Allowed params:
* ''limit'' => integer, limit the number of objects
* ''skip'' => integer, skip the first n objects

@param string $resource The resource - e.g. ''IXP''
@param array|null $params
@return ApiResource[] An array of resource objects.
@throws Error An appropriate error object
Get all objects of a given resource