Class Image
Responsibility: init, pre-dispatch and render submit button based on <input>
HTML element with type image
.
- MvcCore\Ext\Forms\Field implements MvcCore\Ext\Forms\IField uses MvcCore\Ext\Forms\Field\Props, MvcCore\Ext\Forms\Field\Getters, MvcCore\Ext\Forms\Field\Setters, MvcCore\Ext\Forms\Field\Rendering
-
MvcCore\Ext\Forms\Fields\Image implements MvcCore\Ext\Forms\Fields\IVisibleField, MvcCore\Ext\Forms\Fields\ISubmit uses MvcCore\Ext\Forms\Field\Props\VisibleField, MvcCore\Ext\Forms\Field\Props\Submit, MvcCore\Ext\Forms\Field\Props\FormAttrs, MvcCore\Ext\Forms\Field\Props\WidthHeight
Located at ext-form-field-button/src/MvcCore/Ext/Forms/Fields/Image.php
public
string|null
|
|
public
|
|
public
string|null
|
|
public
|
|
public
|
|
public
|
#
SetForm(
This INTERNAL method is called from |
public
|
#
PreDispatch( )
This INTERNAL method is called from |
public
string
|
#
RenderControl( )
This INTERNAL method is called from |
GetCustomResultState(),
SetCustomResultState()
|
GetCustomResultState(),
SetCustomResultState()
|
GetHeight(),
GetWidth(),
SetHeight(),
SetWidth()
|
AUTOFOCUS_DUPLICITY_EXCEPTION,
AUTOFOCUS_DUPLICITY_QUIETLY_SET_NEW,
AUTOFOCUS_DUPLICITY_UNSET_OLD_SET_NEW,
LABEL_SIDE_LEFT,
LABEL_SIDE_RIGHT
|
protected
string
|
$type
Possible values: |
#
'image'
|
protected
string|null
|
$src
Displayed image as button background, relative or absolute path. |
#
NULL
|
protected
string
|
$alt
Alternative button text in |
#
'Submit'
|
protected static
string
|
$templates
Standard field control natural template string. |
#
[
'control' => '<input type="image" id="{id}" name="{name}" src="{src}"{attrs} />',
]
|
$controlAttrs,
$cssClasses,
$cssSupportingFile,
$declaredProtectedProperties,
$errors,
$form,
$id,
$jsClassName,
$jsSupportingFile,
$name,
$title,
$translate,
$translateTitle,
$validators,
$value,
$view,
$viewScript
|
$customResultState
|
$formAction,
$formEnctype,
$formMethod,
$formNoValidate,
$formTarget
|
$height,
$width
|