com\setasign\Konquadrat\Workflow\Helper

RadioButtons

File: /Konquadrat/src/Workflow/Helper/RadioButtons.php

Class hierarchy

Implements

Summary

Properties

$allowNullValues

protected RadioButtons::$allowNullValues = false

$buttons

protected RadioButtons::$buttons = array()

$context

protected array AbstractHelper::$context = array()

$value

protected RadioButtons::$value

$workflow


Methods

__get()

public RadioButtons::__get (
$name
): void
Parameters
$name
 

__isset()

public RadioButtons::__isset (
$value
): void
Parameters
$value
 

__set()

public RadioButtons::__set (
$name,
$value
): void
Parameters
$name
 
$value
 

addButton()

public RadioButtons::addButton (
mixed $value,
string $label,
bool $checked = false
): void
Parameters
$value : mixed
 
$label : string
 
$checked : bool
 

getButtons()

public RadioButtons::getButtons (
void
): array

getContext()

public AbstractHelper::getContext (
void
): array

getName()

public RadioButtons::getName (
void
): string

getSelectedLabel()

public RadioButtons::getSelectedLabel (
void
): ?string

getValue()

public RadioButtons::getValue (
void
): ?mixed

reset()

public RadioButtons::reset (
void
): void

setAllowNullValues()

public RadioButtons::setAllowNullValues (
bool $allow = true
): void
Parameters
$allow : bool
 

setValue()

public RadioButtons::setValue (
$value
): bool
Parameters
$value