Skip to content

Activity

  • Full name: \Zotlabs\Lib\Activity

Methods

encode_object

public static encode_object(mixed $x): mixed
  • This method is static.

Parameters:

Parameter Type Description
$x mixed

fetch_local

public static fetch_local(mixed $url, mixed $portable_id): mixed
  • This method is static.

Parameters:

Parameter Type Description
$url mixed
$portable_id mixed

fetch

public static fetch(mixed $url, mixed $channel = null): mixed
  • This method is static.

Parameters:

Parameter Type Description
$url mixed
$channel mixed

fetch_person

public static fetch_person(mixed $x): mixed
  • This method is static.

Parameters:

Parameter Type Description
$x mixed

fetch_profile

public static fetch_profile(mixed $x): mixed
  • This method is static.

Parameters:

Parameter Type Description
$x mixed

fetch_thing

public static fetch_thing(mixed $x): mixed
  • This method is static.

Parameters:

Parameter Type Description
$x mixed

fetch_item

public static fetch_item(mixed $x): mixed
  • This method is static.

Parameters:

Parameter Type Description
$x mixed

fetch_image

public static fetch_image(mixed $x): mixed
  • This method is static.

Parameters:

Parameter Type Description
$x mixed

fetch_event

public static fetch_event(mixed $x): mixed
  • 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

public static encode_item_collection(mixed $items, mixed $id, mixed $type, mixed $total): mixed
  • 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

public static encode_item(mixed $i): mixed
  • This method is static.

Parameters:

Parameter Type Description
$i mixed

decode_taxonomy

public static decode_taxonomy(mixed $item): mixed
  • This method is static.

Parameters:

Parameter Type Description
$item mixed

encode_taxonomy

public static encode_taxonomy(mixed $item): mixed
  • This method is static.

Parameters:

Parameter Type Description
$item mixed

encode_attachment

public static encode_attachment(mixed $item, mixed $iconfig = false): mixed
  • This method is static.

Parameters:

Parameter Type Description
$item mixed
$iconfig mixed

decode_iconfig

public static decode_iconfig(mixed $item): mixed
  • This method is static.

Parameters:

Parameter Type Description
$item mixed

decode_attachment

public static decode_attachment(mixed $item): mixed
  • This method is static.

Parameters:

Parameter Type Description
$item mixed

encode_activity

public static encode_activity(mixed $i, mixed $recurse = false): mixed
  • This method is static.

Parameters:

Parameter Type Description
$i mixed
$recurse mixed

map_mentions

public static map_mentions(mixed $i): mixed
  • This method is static.

Parameters:

Parameter Type Description
$i mixed

map_acl

public static map_acl(mixed $i): mixed
  • This method is static.

Parameters:

Parameter Type Description
$i mixed

lookup_term_url

public static lookup_term_url(mixed $url): mixed
  • This method is static.

Parameters:

Parameter Type Description
$url mixed

encode_person

public static encode_person(mixed $p, mixed $extended = true): mixed
  • This method is static.

Parameters:

Parameter Type Description
$p mixed
$extended mixed

encode_item_object

public static encode_item_object(mixed $item, mixed $elm = 'obj'): mixed
  • This method is static.

Parameters:

Parameter Type Description
$item mixed
$elm mixed

activity_mapper

public static activity_mapper(mixed $verb): mixed
  • This method is static.

Parameters:

Parameter Type Description
$verb mixed

activity_obj_mapper

public static activity_obj_mapper(mixed $obj): mixed
  • This method is static.

Parameters:

Parameter Type Description
$obj mixed

follow

public static follow(mixed $channel, mixed $act): mixed
  • This method is static.

Parameters:

Parameter Type Description
$channel mixed
$act mixed

unfollow

public static unfollow(mixed $channel, mixed $act): mixed
  • This method is static.

Parameters:

Parameter Type Description
$channel mixed
$act mixed

drop

public static drop(mixed $channel, mixed $observer, mixed $act): mixed
  • This method is static.

Parameters:

Parameter Type Description
$channel mixed
$observer mixed
$act mixed

actor_store

public static actor_store(mixed $person_obj, mixed $force = false): mixed
  • This method is static.

Parameters:

Parameter Type Description
$person_obj mixed
$force mixed

vid_sort

public static vid_sort(mixed $a, mixed $b): mixed
  • This method is static.

Parameters:

Parameter Type Description
$a mixed
$b mixed

get_actor_bbmention

public static get_actor_bbmention(mixed $id): mixed
  • This method is static.

Parameters:

Parameter Type Description
$id mixed

update_poll

public static update_poll(mixed $pollItem, mixed $response): mixed
  • This method is static.

Parameters:

Parameter Type Description
$pollItem mixed
$response mixed

decode_note

public static decode_note(mixed $act): mixed
  • 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

public static bb_attach(mixed $item): mixed
  • This method is static.

Parameters:

Parameter Type Description
$item mixed

media_not_in_body

public static media_not_in_body(mixed $s, mixed $body): mixed
  • This method is static.

Parameters:

Parameter Type Description
$s mixed
$body mixed

bb_content

public static bb_content(mixed $content, mixed $field): mixed
  • This method is static.

Parameters:

Parameter Type Description
$content mixed
$field mixed

get_content

public static get_content(mixed $act): mixed
  • This method is static.

Parameters:

Parameter Type Description
$act mixed

get_textfield

public static get_textfield(mixed $act, mixed $field): null|string|array
  • This method is static.

Parameters:

Parameter Type Description
$act mixed
$field mixed

token_from_request

public static token_from_request(): mixed
  • This method is static.

find_best_identity

public static find_best_identity(mixed $xchan): mixed
  • This method is static.

Parameters:

Parameter Type Description
$xchan mixed

get_cached_actor

public static get_cached_actor(mixed $id): mixed
  • This method is static.

Parameters:

Parameter Type Description
$id mixed

get_actor

public static get_actor(mixed $actor_id, mixed $force = false): mixed
  • This method is static.

Parameters:

Parameter Type Description
$actor_id mixed
$force mixed

get_unknown_actor

public static get_unknown_actor(mixed $act): mixed
  • This method is static.

Parameters:

Parameter Type Description
$act mixed

get_actor_hublocs

public static get_actor_hublocs(mixed $url, mixed $options = 'all'): mixed
  • This method is static.

Parameters:

Parameter Type Description
$url mixed
$options mixed

get_actor_collections

public static get_actor_collections(mixed $url): mixed
  • This method is static.

Parameters:

Parameter Type Description
$url mixed

get_actor_protocols

public static get_actor_protocols(mixed $actor): mixed
  • This method is static.

Parameters:

Parameter Type Description
$actor mixed

get_quote_bbcode

public static get_quote_bbcode(mixed $url): mixed
  • This method is static.

Parameters:

Parameter Type Description
$url mixed

get_attributed_to_actor_url

public static get_attributed_to_actor_url(mixed $act): mixed
  • This method is static.

Parameters:

Parameter Type Description
$act mixed

ap_context

public static ap_context(mixed $contextType = null): array
  • This method is static.

Parameters:

Parameter Type Description
$contextType mixed

ap_schema

public static ap_schema(mixed $contextType = null): array
  • This method is static.

Parameters:

Parameter Type Description
$contextType mixed

build_packet

public static build_packet(array $obj, array $channel = [], bool $json_encode = true): string|array
  • This method is static.

Parameters:

Parameter Type Description
$obj array
$channel array (optional) default []
$json_encode bool (optional) default true

init_background_fetch

public static init_background_fetch(string $observer_hash = ''): mixed
  • 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