|
| getActivities ($user_id) |
|
| __construct () |
|
| init ($router, $route) |
|
| paginated ($data, $total, $uri_params=[], $query_params=[]) |
|
| paginate ($uri_format, $total, $offset=null, $limit=null) |
|
| collect ($data) |
|
| status ($status) |
|
| headers ($headers=[]) |
|
| body ($body) |
|
| contentType ($mime_type, $params=[]) |
|
| error ($status, $body=null) |
|
| etag ($value, $strong_etag=true, $new_resource=null) |
|
| expires ($amount, $cache_control=[]) |
|
| cacheControl ($values) |
|
| halt () |
|
| lastModified ($time) |
|
| notFound ($body=null) |
|
| redirect ($url, $args=null) |
|
| sendFile ($_path, $opts=[]) |
|
| url ($addr, $url_params=null) |
|
| urlf ($addr_f, $format_params, $url_params=null) |
|
| getRoutes ($http_method=null) |
|
| getResponse () |
|
getActivities |
( |
|
$user_id | ) |
|
List activities for an user
/user/:user_id/activitystream
- Parameters
-
string | $user_id | the user to get the activities for |
- Returns
- array the activities as array('collection' => array(...), 'pagination' => array())
The documentation for this class was generated from the following file: