Radio

Radio

Checkbox

Methods

Inherited from MultipleOptionsTrait
Inherited from Element
Inherited from Input
Inherited from InputAttributesTrait
Inherited from Element
Inherited from BasicAttributesTrait

__construct

Create an HTML form input.

Radio::__construct( string $name )

checked

Set the value of the radio element.

Radio::checked( mixed $value ): self

Returns Self: This method can be chained.


inline

Sets multiple radio elements to display horizontally.

Radio::inline( boolean $value = true ): self

Returns Self: This method can be chained.


addValidation

Dead-end stub for interface: LiveValidation does not support Radio elements.

Radio::addValidation( string $type, string $params = '' )

Last updated : September 15, 2018 b92362d