\HelperOptionsCore

Use this helper to generate preferences forms, with values stored in the configuration table

Summary

Methods
Properties
Constants
__construct()
generateOptions()
displayOptionTypeImage()
displayOptionTypePrice()
displayOptionTypeDisabled()
getOptionValue()
$required
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$required

$required : 

Type

Methods

__construct()

__construct() 

generateOptions()

generateOptions(  $option_list) : string

Generate a form for options

Parameters

$option_list

Returns

string —

html

displayOptionTypeImage()

displayOptionTypeImage(  $key,   $field,   $value) 

Type = image

Parameters

$key
$field
$value

displayOptionTypePrice()

displayOptionTypePrice(  $key,   $field,   $value) 

Type = price

Parameters

$key
$field
$value

displayOptionTypeDisabled()

displayOptionTypeDisabled(  $key,   $field,   $value) 

Type = disabled

Parameters

$key
$field
$value

getOptionValue()

getOptionValue(  $key,   $field) 

Parameters

$key
$field