Class InputField
Input Field
Stores information regarding a particular Input Field, which may consist of a label, tooltip, input field, or some combination thereof.
- Blesta\Core\Util\Input\Fields\Common\AbstractField implements Blesta\Core\Util\Input\Fields\Common\FieldInterface
- Blesta\Core\Util\Input\Fields\InputField
Direct known subclasses
ModuleField
Namespace: Blesta\Core\Util\Input\Fields
Package: blesta\core\Util\Input\Fields
Copyright: Copyright (c) 2020, Phillips Data, Inc.
License: The Blesta License Agreement
See:
Link: Blesta
Located at core/Util/Input/Fields/InputField.php
Package: blesta\core\Util\Input\Fields
Copyright: Copyright (c) 2020, Phillips Data, Inc.
License: The Blesta License Agreement
See:
Blesta\Core\Util\Input\Fields\InputFields
Link: Blesta
Located at core/Util/Input/Fields/InputField.php
public
|
#
setParam( string $name, mixed $value )
Sets all parameters for this InputField, which will be dispatched to the appropriate Form helper method when needed, or to the tooltip. |
public
|
#
setLabel(
Sets the label associated with this specific field. |
public
|
#
attach(
Attaches a field to a label FieldInterface, or a tooltip to a label FieldInterface. Only field and tooltip types can be attached to a label. So the current object must be of type "label". And $field must be of some other type. |
__construct()
|
public
array
|
$params
All parameters set for this InputField |
#
[]
|
public
array
|
$fields
All fields or tooltips attached to this label |
#
[]
|
$type
|