Ka Extensions for OpenCart 3

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

Model extends Model
in component
uses TraitSession

AbstractYes

Base model class

Table of Contents

Properties

Methods

__construct()  : mixed
__get()  : mixed
getLastError()  : mixed
getNamespace()  : mixed
getSession()  : mixed
kamodel()  : mixed
onLoad()  : mixed
All required models can be loaded here
setSession()  : mixed

Properties

$lastError

protected mixed $lastError

Methods

__construct()

public __construct(mixed $registry) : mixed
Parameters
$registry : mixed

__get()

public __get(mixed $key) : mixed

Do not use magic prefixes like 'tbl_', 'kamodel_' and 'model_'. They do not work transparent in ancestors.

Parameters
$key : mixed

getLastError()

public getLastError() : mixed

getNamespace()

protected getNamespace() : mixed

getSession()

protected & getSession(mixed $key) : mixed
Parameters
$key : mixed

kamodel()

protected kamodel(mixed $model) : mixed
Parameters
$model : mixed

onLoad()

All required models can be loaded here

protected onLoad() : mixed

setSession()

protected setSession(mixed $key, mixed $value) : mixed
Parameters
$key : mixed
$value : mixed

        
On this page

Search results