Toggle command - special command interface for toggling a boolean property between '1' and '' (empty string).

 Methods

Set the property to toggle.

getToggleProperty() : string

Returns

string

Determine the inverse state.

isInverse() : bool

Returns

bool

Set the inverse state of this toggle command.

setInverse(bool $inverse) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ToggleCommandInterface

Set the property to toggle.

setToggleProperty(string $property) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\View\ToggleCommandInterface