Methods

__construct()

__construct() 

setMedia()

setMedia() 

initToolbar()

initToolbar() 

initPageHeaderToolbar()

initPageHeaderToolbar() 

initProcess()

initProcess() 

renderView()

renderView() 

renderForm()

renderForm() 

formatModuleListAuth()

formatModuleListAuth(  $id_group) 

Parameters

$id_group

processSave()

processSave() 

ajaxProcessAddCategoryReduction()

ajaxProcessAddCategoryReduction() 

processChangeShowPricesVal()

processChangeShowPricesVal() 

Toggle show prices flag

printShowPricesIcon()

printShowPricesIcon(  $id_group,   $tr) : string

Print enable / disable icon for show prices option

Parameters

$id_group

integer Group ID

$tr

array Row data

Returns

string —

HTML link and icon

renderList()

renderList() 

displayEditLink()

displayEditLink(  $token = null,   $id,   $name = null) 

Parameters

$token
$id
$name

renderCustomersList()

renderCustomersList(  $group) 

Parameters

$group

formatCategoryDiscountList()

formatCategoryDiscountList(  $id_group) 

Parameters

$id_group

validateDiscount()

validateDiscount(  $reduction) 

Parameters

$reduction

updateRestrictions()

updateRestrictions() 

Update (or create) restrictions for modules by group

updateCategoryReduction()

updateCategoryReduction()