FormModel
in package
Tags
Table of Contents
- $_groupSlug : string
- $_inputModels : array<string|int, InputModelBase>
- $_isInvisibleForm : bool
- $_label : string
- $_ooModule : string
- $_pageSlug : string
- $_pTextCallback : Closure
- __construct() : mixed
- addInputModel() : mixed
- getGroupSlug() : string
- getInputModel() : array<string|int, InputModelBase>
- getIsInvisibleForm() : bool
- getLabel() : string
- getOoModule() : string
- getPageSlug() : string
- getTextCallback() : Closure
- setGroupSlug() : mixed
- setIsInvisibleForm() : mixed
- setLabel() : mixed
- setOoModule() : mixed
- setPageSlug() : mixed
- setTextCallback() : mixed
Properties
$_groupSlug
private
string
$_groupSlug
= ''
$_inputModels
private
array<string|int, InputModelBase>
$_inputModels
= []
$_isInvisibleForm
private
bool
$_isInvisibleForm
= false
Use this if you need the value but displaying is discouraged
$_label
private
string
$_label
= ''
Label of section
$_ooModule
private
string
$_ooModule
= ''
$_pageSlug
private
string
$_pageSlug
= ''
$_pTextCallback
private
Closure
$_pTextCallback
= null
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addInputModel()
public
addInputModel(InputModelBase $pInputModel) : mixed
Parameters
- $pInputModel : InputModelBase
Return values
mixed —getGroupSlug()
public
getGroupSlug() : string
Return values
string —getInputModel()
public
getInputModel() : array<string|int, InputModelBase>
Return values
array<string|int, InputModelBase> —getIsInvisibleForm()
public
getIsInvisibleForm() : bool
Return values
bool —getLabel()
public
getLabel() : string
Return values
string —getOoModule()
public
getOoModule() : string
Return values
string —getPageSlug()
public
getPageSlug() : string
Return values
string —getTextCallback()
public
getTextCallback() : Closure
Return values
Closure —setGroupSlug()
public
setGroupSlug(string $groupSlug) : mixed
Parameters
- $groupSlug : string
Return values
mixed —setIsInvisibleForm()
public
setIsInvisibleForm(bool $isInvisibleForm) : mixed
Parameters
- $isInvisibleForm : bool
Return values
mixed —setLabel()
public
setLabel(string $label) : mixed
Parameters
- $label : string
Return values
mixed —setOoModule()
public
setOoModule(string $module) : mixed
Parameters
- $module : string
Return values
mixed —setPageSlug()
public
setPageSlug(string $pageSlug) : mixed
Parameters
- $pageSlug : string
Return values
mixed —setTextCallback()
public
setTextCallback(Closure $pTextCallback) : mixed
Parameters
- $pTextCallback : Closure