ASCollection
Class for dealing with fetching ActivityStreams collections (ordered or unordered, normal or paged).
Construct with either an existing object or url and an optional channel to sign requests. $direction is 0 (default) to fetch from the beginning, and 1 to fetch from the end and reverse order the resultant array. An optional limit to the number of records returned may also be specified. Use $class->get() to return an array of collection members.
- Full name:
\Zotlabs\Lib\ASCollection
Properties
channel
nextpage
limit
direction
data
history
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$obj |
mixed | |
$channel |
mixed | |
$direction |
mixed | |
$limit |
mixed |
get
next
setnext
Parameters:
Parameter | Type | Description |
---|---|---|
$data |
mixed |
Automatically generated on 2025-03-19