Ka Extensions

ControllerList extends ControllerPage
in component

AbstractYes

This class provides basic entity list functionality. It can be used for creating a new entity management in a store back-end.

Table of Contents

Constants

FORM_ROUTE  = ''
PAGE_ROUTE  = ''

Properties

Methods

__construct()  : mixed
delete()  : mixed
deleteRecord()  : mixed
index()  : mixed
addBreadcrumb()  : mixed
addTopMessage()  : mixed
disableRender()  : mixed
enableRender()  : mixed
fillRecord()  : mixed
getPageFilterFields()  : mixed
getPageUrlParams()  : mixed
getRenderData()  : mixed
getRenderTemplate()  : mixed
getSession()  : mixed
getSortFields()  : mixed
getTopMessages()  : mixed
kamodel()  : mixed
loadAdminPageBlocks()  : mixed
loadCustomerPageBlocks()  : mixed
onLoad()  : mixed
render()  : mixed
setOutput()  : mixed
setSession()  : mixed
showPage()  : mixed
validateDelete()  : mixed

Constants

Properties

$kadb

Earlier it was used as alternative to the standard db class. Latest 'Ka Extensions' library intends to move all extended DB functions to the standard DB class.

protected mixed $kadb = null

Methods

__construct()

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

addBreadcrumb()

protected addBreadcrumb(mixed $text[, mixed $href = '' ]) : mixed
Parameters
$text : mixed
$href : mixed = ''

addTopMessage()

protected addTopMessage(mixed $msg[, mixed $type = 'I' ]) : mixed
Parameters
$msg : mixed
$type : mixed = 'I'

disableRender()

protected disableRender([mixed $templates = null ]) : mixed
Parameters
$templates : mixed = null

fillRecord()

protected fillRecord(mixed $record) : mixed
Parameters
$record : mixed

getPageFilterFields()

protected getPageFilterFields([mixed $filter_fields = array() ]) : mixed
Parameters
$filter_fields : mixed = array()

getSession()

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

getTopMessages()

protected getTopMessages([mixed $clear = true ]) : mixed
Parameters
$clear : mixed = true

kamodel()

protected kamodel(mixed $model) : mixed

The function loads a model within the module namespace

Parameters
$model : mixed

loadCustomerPageBlocks()

protected loadCustomerPageBlocks() : mixed

render()

protected render([mixed $tpl = '' ][, mixed $data = array() ]) : mixed
Parameters
$tpl : mixed = ''
$data : mixed = array()

setOutput()

protected setOutput([mixed $param = null ]) : mixed

Use the native response->setOutput or $this->showPage()

Parameters
$param : mixed = null

setSession()

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

showPage()

protected showPage([mixed $page = '' ][, mixed $data = array() ]) : mixed
Parameters
$page : mixed = ''
$data : mixed = array()

        
On this page

Search results