\FAA\InterfacesHttpCache

Implement html caches

Summary

Methods
Properties
Constants
FetchElement()
StoreElement()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

FetchElement()

FetchElement(  $url,  $language,  $domain): \FAA\Obj\Result

Parameters

$url
$language
$domain

Returns

\FAA\Obj\Result

StoreElement()

StoreElement(string  $url,string  $language,string  $domain,string  $data): string

Cache the element and tidy it up when possible

Parameters

string $url

The request url

string $language

The request language

string $domain

The request domain id

string $data

The response html

Returns

string —

The parsed html