Ka Extensions for OpenCart 4

This documentation applies to Ka Extensions for OpenCart 4.x only. It is not compatible with OpenCart 3.

Store
in component

Gives information about stores. Results are cached per store.

Table of Contents

Properties

Methods

getStoreConfig()  : Config
Returns the store settings.
getStoreInfo()  : array<string|int, mixed>
Returns store information: 'store_name', 'sender', 'store_url', 'store_login_url'.
__construct()  : mixed
Loads store information and settings.

Properties

$cache

public static mixed $cache = array()

$config

public mixed $config

$data

public mixed $data = array()

$registry

public mixed $registry

Methods

getStoreConfig()

Returns the store settings.

public static getStoreConfig(mixed $store_id) : Config

$store_id — store ID.

Parameters
$store_id : mixed
Return values
Config

getStoreInfo()

Returns store information: 'store_name', 'sender', 'store_url', 'store_login_url'.

public static getStoreInfo(mixed $store_id) : array<string|int, mixed>

$store_id — store ID.

Parameters
$store_id : mixed
Return values
array<string|int, mixed>

__construct()

Loads store information and settings.

protected __construct([mixed $store_id = 0 ]) : mixed

$store_id — store ID.

Parameters
$store_id : mixed = 0

        
On this page

Search results