Documentation

Shop_Currency_Driver_Cbrf extends Shop_Currency_Driver
in package

ЦБ РФ драйвер обновления валют

Tags
subpackage

Shop

version
7.x
author

Hostmake LLC

copyright

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

Table of Contents

Properties

$instance  : mixed
The singleton instances.
$_config  : mixed
Driver's configuration

Methods

__construct()  : mixed
Constructor.
execute()  : self
Executes the business logic.
instance()  : object
Register an existing instance as a singleton.
_getDriverName()  : srting
Get full driver name

Properties

$instance

The singleton instances.

public static mixed $instance = array()

$_config

Driver's configuration

protected mixed $_config = \NULL

Methods

__construct()

Constructor.

public __construct(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>

config

execute()

Executes the business logic.

public execute() : self
Return values
self

instance()

Register an existing instance as a singleton.

public static instance([string $name = 'default' ]) : object
Parameters
$name : string = 'default'

driver's name

Return values
object

_getDriverName()

Get full driver name

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

driver name

Return values
srting

        
On this page

Search results