Documentation

Cdn_Airee extends Cdn_Controller
in package

Airee CDN driver

Tags
subpackage

Cdn

version
7.x
author

Hostmake LLC

copyright

© 2005-2022 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

$instance  : array<string|int, mixed>
The singleton instances.
$_cdn  : Cdn_Model
CDN
$_cdn_site  : Cdn_Site_Model
Cdn_Site
$_getCdnDomainCache  : array<string|int, mixed>
CDN domain cache
addSite()  : bool
Add site into CDN
addSites()  : mixed
getBalance()  : int
Get CDN balance
getCdn()  : Cdn_Model
Get CDN
getCdnDomain()  : string
Get CDN domain
getCssDomain()  : string
Get CSS domain
getCurrency()  : string
Get CDN currency
getDefaultCdnSite()  : Cdn_Site_Model|null
Get default Cdn_Site for current site
getInformationsystemDomain()  : string
Get Informationsystem domain
getJsDomain()  : string
Get JS domain
getShopDomain()  : string
Get Shop domain
getStructureDomain()  : string
Get Structure domain
instance()  : object
Register an existing instance as a singleton.
onSave()  : self
Save CDN
setCdn()  : self
Set CDN
setCdnSite()  : self
Set Cdn_Site
_getDomain()  : string|null
Get site domain
_getDriverName()  : srting
Get full driver name

Properties

$instance

The singleton instances.

public static array<string|int, mixed> $instance = array()

$_getCdnDomainCache

CDN domain cache

protected array<string|int, mixed> $_getCdnDomainCache = array()

Methods

addSite()

Add site into CDN

public addSite(mixed $domain) : bool
Parameters
$domain : mixed
Return values
bool

addSites()

public addSites(mixed $siteId) : mixed
Parameters
$siteId : mixed
Return values
mixed

getBalance()

Get CDN balance

public getBalance() : int
Return values
int

getCdnDomain()

Get CDN domain

public getCdnDomain() : string
Return values
string

getCssDomain()

Get CSS domain

public getCssDomain() : string
Return values
string

getCurrency()

Get CDN currency

public getCurrency() : string
Return values
string

getInformationsystemDomain()

Get Informationsystem domain

public getInformationsystemDomain() : string
Return values
string

getJsDomain()

Get JS domain

public getJsDomain() : string
Return values
string

getShopDomain()

Get Shop domain

public getShopDomain() : string
Return values
string

getStructureDomain()

Get Structure domain

public getStructureDomain() : string
Return values
string

instance()

Register an existing instance as a singleton.

public static instance(string $name) : object
Parameters
$name : string

driver's name

Return values
object

onSave()

Save CDN

public onSave() : self
Return values
self

_getDomain()

Get site domain

protected _getDomain() : string|null
Return values
string|null

_getDriverName()

Get full driver name

protected static _getDriverName(string $driver) : srting
Parameters
$driver : string

driver name

Return values
srting

Search results