vB_External_Export
in package
Uses
vB_Trait_NoSerialize
AbstractYes
Table of Contents
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- formatItems() : array<string|int, mixed>
- Formats fields if needed regarding the options.
- getCacheHash() : string
- Creates a cachehash from given options.
- getHeaders() : mixed
- Common getter.
- getHeadersFromLastOutput() : mixed
- Get a list of valid headers values from last external provider output and data specified.
- getInternalOptions() : mixed
- Common getter
- getOptions() : mixed
- Common getter
- output() : mixed
- Builds an output regarding the implementation type.
Methods
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
__wakeup()
public
__wakeup() : void
formatItems()
Formats fields if needed regarding the options.
public
formatItems(mixed $items, mixed $options) : array<string|int, mixed>
Parameters
- $items : mixed
- $options : mixed
Return values
array<string|int, mixed> —List of formatted items.
getCacheHash()
Creates a cachehash from given options.
public
getCacheHash(mixed $options) : string
Parameters
- $options : mixed
Return values
string —Cache hash.
getHeaders()
Common getter.
public
getHeaders() : mixed
getHeadersFromLastOutput()
Get a list of valid headers values from last external provider output and data specified.
public
getHeadersFromLastOutput(mixed $data) : mixed
Notice this has to be called after output() gets called so needed data gets in place.
Parameters
- $data : mixed
getInternalOptions()
Common getter
public
getInternalOptions() : mixed
getOptions()
Common getter
public
getOptions() : mixed
output()
Builds an output regarding the implementation type.
public
output([mixed $options = [] ]) : mixed
Content from the output is basically content from the site including forum, blogs and groups. Options can be passed optionally.
Parameters
- $options : mixed = []