phpDocumentor

AMPifyGMMeta extends AMPifyGMMeta_parent
in package

Table of Contents

$active  : bool
$ampifyUrl  : string
$cacheKey  : string
$dataCache  : DataCache
$installed  : bool
$key  : string
__construct()  : mixed
get_base_meta()  : bool|string
Extend meta-tags if AMP page available
_getCacheResponse()  : bool|string
Get the cached response
_requestAmpUrls()  : bool|string
Receive AMP-pages array from Ampify-Server

Properties

$ampifyUrl

protected string $ampifyUrl = 'https://ampify.it/'

$cacheKey

protected string $cacheKey = 'accelerated-mobile-pages'

Methods

__construct()

public __construct([mixed $p_output = true ]) : mixed
Parameters
$p_output : mixed = true
Return values
mixed

get_base_meta()

Extend meta-tags if AMP page available

public get_base_meta() : bool|string
Return values
bool|string

Returns the JSON string or false if the cache is outdated.

_getCacheResponse()

Get the cached response

protected _getCacheResponse() : bool|string
Return values
bool|string

Returns the JSON string or false if the cache is outdated.

_requestAmpUrls()

Receive AMP-pages array from Ampify-Server

protected _requestAmpUrls() : bool|string
Return values
bool|string

Returns the JSON string or false if the cache is outdated.

Search results