Activity
- Full name:
\Zotlabs\Lib\Activity
Methods
encode_object
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
mixed |
fetch_local
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
mixed | |
$portable_id |
mixed |
fetch
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
mixed | |
$channel |
mixed |
fetch_person
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
mixed |
fetch_profile
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
mixed |
fetch_thing
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
mixed |
fetch_item
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
mixed |
fetch_image
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
mixed |
fetch_event
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$x |
mixed |
paged_collection_init
public static paged_collection_init(mixed $total, mixed $id, mixed $type = 'OrderedCollection'): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$total |
mixed | |
$id |
mixed | |
$type |
mixed |
encode_item_collection
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$items |
mixed | |
$id |
mixed | |
$type |
mixed | |
$total |
mixed |
encode_follow_collection
public static encode_follow_collection(mixed $items, mixed $id, mixed $type, mixed $extra = null): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$items |
mixed | |
$id |
mixed | |
$type |
mixed | |
$extra |
mixed |
encode_simple_collection
public static encode_simple_collection(mixed $items, mixed $id, mixed $type, mixed $total, mixed $extra = null): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$items |
mixed | |
$id |
mixed | |
$type |
mixed | |
$total |
mixed | |
$extra |
mixed |
encode_item
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$i |
mixed |
decode_taxonomy
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
mixed |
encode_taxonomy
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
mixed |
encode_attachment
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
mixed | |
$iconfig |
mixed |
decode_iconfig
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
mixed |
decode_attachment
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
mixed |
encode_activity
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$i |
mixed | |
$recurse |
mixed |
map_mentions
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$i |
mixed |
map_acl
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$i |
mixed |
lookup_term_url
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
mixed |
encode_person
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$p |
mixed | |
$extended |
mixed |
encode_item_object
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
mixed | |
$elm |
mixed |
activity_mapper
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$verb |
mixed |
activity_obj_mapper
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$obj |
mixed |
follow
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed | |
$act |
mixed |
unfollow
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed | |
$act |
mixed |
drop
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed | |
$observer |
mixed | |
$act |
mixed |
actor_store
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$person_obj |
mixed | |
$force |
mixed |
vid_sort
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$a |
mixed | |
$b |
mixed |
get_actor_bbmention
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$id |
mixed |
update_poll
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$pollItem |
mixed | |
$response |
mixed |
decode_note
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$act |
mixed |
store
public static store(mixed $channel, mixed $observer_hash, mixed $act, mixed $item, mixed $fetch_parents = true, mixed $force = false, mixed $is_collection_operation = false): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed | |
$observer_hash |
mixed | |
$act |
mixed | |
$item |
mixed | |
$fetch_parents |
mixed | |
$force |
mixed | |
$is_collection_operation |
mixed |
fetch_and_store_parents
public static fetch_and_store_parents(array $channel, array $observer_hash, array $item, object $act = null, bool $force = false): bool
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
array | |
$observer_hash |
array | |
$item |
array | string|array |
$act |
object | activitystreams object (optional) default null |
$force |
bool | disregard permissions and force storage (optional) default false |
bb_attach
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$item |
mixed |
media_not_in_body
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$s |
mixed | |
$body |
mixed |
bb_content
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$content |
mixed | |
$field |
mixed |
get_content
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$act |
mixed |
get_textfield
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$act |
mixed | |
$field |
mixed |
token_from_request
- This method is static.
find_best_identity
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$xchan |
mixed |
get_cached_actor
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$id |
mixed |
get_actor
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$actor_id |
mixed | |
$force |
mixed |
get_unknown_actor
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$act |
mixed |
get_actor_hublocs
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
mixed | |
$options |
mixed |
get_actor_collections
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
mixed |
get_actor_protocols
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$actor |
mixed |
get_quote_bbcode
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
mixed |
get_attributed_to_actor_url
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$act |
mixed |
ap_context
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$contextType |
mixed |
ap_schema
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$contextType |
mixed |
build_packet
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$obj |
array | |
$channel |
array | (optional) default [] |
$json_encode |
bool | (optional) default true |
init_background_fetch
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$observer_hash |
string |
addToCollection
public static addToCollection(mixed $channel, mixed $object, mixed $target, mixed $sourceItem = null, mixed $deliver = true): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed | |
$object |
mixed | |
$target |
mixed | |
$sourceItem |
mixed | |
$deliver |
mixed |
removeFromCollection
public static removeFromCollection(mixed $channel, mixed $object, mixed $target, mixed $deliver = true): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed | |
$object |
mixed | |
$target |
mixed | |
$deliver |
mixed |
Automatically generated on 2025-03-19