\Applications\FormFactsFieldset

Facts fieldset. Defines formular fields of the facts form fieldset.

Summary

Methods
Properties
Constants
init()
isSummaryEmpty()
setEmptySummaryNotice()
getEmptySummaryNotice()
setIsDisableCapable()
isDisableCapable()
setIsDisableElementsCapable()
isDisableElementsCapable()
disableElements()
No public properties found
No constants found
No protected methods found
$emptySummaryNotice
N/A
No private methods found
No private properties found
N/A

Properties

$emptySummaryNotice

$emptySummaryNotice : string

The empty summary notice.

Type

string

Methods

init()

init()

initialize facts fieldset

isSummaryEmpty()

isSummaryEmpty() : bool

If all elements have empty values, the form will be displayed collapsed with the EmptySummaryNotice

Returns

bool

setEmptySummaryNotice()

setEmptySummaryNotice(mixed $message) : $this

Parameters

mixed $message

Returns

$this

getEmptySummaryNotice()

getEmptySummaryNotice() : string

Returns

string

setIsDisableCapable()

setIsDisableCapable(bool $flag) : $this

Parameters

bool $flag

Returns

$this

isDisableCapable()

isDisableCapable() : bool

Returns

bool

setIsDisableElementsCapable()

setIsDisableElementsCapable(bool $flag) : $this

Sets if this element is capable of disabling its children.

Parameters

bool $flag

Returns

$this

isDisableElementsCapable()

isDisableElementsCapable() : bool

Gets if this element is capable of disabling its children.

Returns

bool

disableElements()

disableElements(array $map) : $this

Removes elements from Facts form.

To disable elements pass the element names as array entries. To disable elements inside a fieldset/form, pass the fieldset/form name as key and the element names in an array. This can be done recursively.

Parameters

array $map

Returns

$this