Get a page of push subscriptions in the given user's account, where
each page contains up to per_page items. Results will be ordered
according to the supplied ordering parameters.
public static listSubscriptions ( DataSift_User $user, integer $page = 1, integer $per_page = 20, string $order_by = self::ORDERBY_CREATED_AT, string $order_dir = self::ORDERDIR_ASC, boolean $include_finished = false, string $hash_type = false, string $hash = false ) : array | ||
$user | DataSift_User | The user. |
$page | integer | The page number to fetch. |
$per_page | integer | The number of items per page. |
$order_by | string | The field on which to order the results. |
$order_dir | string | The direction of the ordering. |
$include_finished | boolean | True to include subscriptions against finished historic queries. |
$hash_type | string | Stream hash or Historics playback id. |
$hash | string | The stream hash or historics subscription id string. |
return | array | Of DataSift_Push_Subscription objects. |