ToggleValue
Update boolean database values (true or false)
Table of Contents
Methods
- toggle() : bool
- Toggle model attribute value
Methods
toggle()
Toggle model attribute value
public
toggle(string $fieldName[, string|int|null $id = null ]) : bool
Parameters
- $fieldName : string
- $id : string|int|null = null