ProgressField
extends BaseField
in package
Class representing a progress field in a form
Table of Contents
Constants
- TYPE_PROGRESS : mixed = 'progress'
Properties
- $attribute : string
- $model : Model
- $type : string
Methods
- __construct() : mixed
- Field constructor.
- __toString() : string
- Returns the HTML representation of the field including label, input and error message.
- renderInput() : string
- Render a progress input field.
Constants
TYPE_PROGRESS
public
mixed
TYPE_PROGRESS
= 'progress'
Properties
$attribute
public
string
$attribute
$model
public
Model
$model
$type
public
string
$type
Methods
__construct()
Field constructor.
public
__construct(Model $model, string $attribute) : mixed
Parameters
- $model : Model
- $attribute : string
__toString()
Returns the HTML representation of the field including label, input and error message.
public
__toString() : string
Return values
stringrenderInput()
Render a progress input field.
public
renderInput() : string