ActivityStreams
- Full name:
\Zotlabs\Lib\ActivityStreams
Properties
raw
data
meta
valid
deleted
portable_id
id
parent_id
type
actor
obj
tgt
origin
owner
signer
sig
sigok
recips
raw_recips
saved_recips
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$string |
string | |
$portable_id |
mixed |
is_valid
Return Value:
Return true if the JSON string could be decoded.
set_recips
Parameters:
Parameter | Type | Description |
---|---|---|
$arr |
mixed |
objprop
Parameters:
Parameter | Type | Description |
---|---|---|
$property |
string | |
$default |
mixed | return value if property or object not set or object is a string id which could not be fetched. |
collect_recips
Parameters:
Parameter | Type | Description |
---|---|---|
$base |
mixed | |
$namespace |
string | (optional) default empty |
expand
Parameters:
Parameter | Type | Description |
---|---|---|
$arr |
mixed | |
$base |
mixed | |
$namespace |
mixed |
get_namespace
Parameters:
Parameter | Type | Description |
---|---|---|
$base |
array | |
$namespace |
string | if not set return empty string |
get_property_obj
public get_property_obj(string $property, array $base = '', string $namespace = ''): null|mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$property |
string | |
$base |
array | (optional) |
$namespace |
string | (optional) default empty |
fetch_property
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
string | |
$channel |
mixed |
is_an_actor
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$s |
mixed |
is_response_activity
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$s |
mixed |
get_actor
public get_actor(string $property, array $base = '', string $namespace = ''): null|mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$property |
string | |
$base |
array | |
$namespace |
string | (optional) default empty |
get_compound_property
public get_compound_property(string $property, array $base = '', string $namespace = '', bool $first = false): null|mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$property |
string | |
$base |
array | |
$namespace |
string | (optional) default empty |
$first |
bool | (optional) default false, if true and result is a sequential array return only the first element |
is_url
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
string |
get_primary_type
Parameters:
Parameter | Type | Description |
---|---|---|
$base |
array | |
$namespace |
string | (optional) default empty |
debug
is_as_request
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed |
get_accept_header_string
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
mixed |
checkEddsaSignature
Automatically generated on 2025-03-19