extends |
Upload |
|---|
| Methods | ||
|---|---|---|
protected
|
init(): void
|
# |
public
|
getThumbnail(): View
|
# |
public
|
setThumbnailSrc(string $src): void
|
# |
public
|
clearThumbnail(): void
|
# |
| Methods inherited from Atk4\Ui\Form\Control\Upload |
|---|
set(), setInput(), getInputValue(), setFileId(), addJsAction(), onUpload(), onDelete(), renderView() |
| Methods inherited from Atk4\Ui\Form\Control\Input |
|---|
setInputAttr(), getValue(), getInput(), prepareRenderLabel(), prepareRenderButton(), addAction() |
| Methods inherited from Atk4\Ui\Form\Control |
|---|
renderTemplateToHtml(), onChange(), jsInput() |
| Methods inherited from Atk4\Ui\AbstractView |
|---|
getOwner() |
| Methods used from Atk4\Core\AppScopeTrait |
|---|
assertInstanceOfApp(), issetApp(), getApp(), setApp() |
| Methods used from Atk4\Core\ContainerTrait |
|---|
_uniqueElementName(), _addContainer(), removeElement(), _shorten(), getElement(), hasElement() |
| Methods used from Atk4\Core\InitializerTrait |
|---|
isInitialized(), assertIsInitialized(), invokeInit() |
| Methods used from Atk4\Core\StaticAddToTrait |
|---|
_addToAdd(), addTo(), addToWithCl(), addToWithClUnsafe() |
| Methods used from Atk4\Core\TrackableTrait |
|---|
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy() |
| Constants inherited from Atk4\Ui\Form\Control\Upload |
|---|
|
| Properties | |||
|---|---|---|---|
public
|
View|null
|
$thumbnail
|
# |
public
|
string
|
$thumbnailRegion = 'AfterAfterInput'
|
# |
public
|
string|null
|
$defaultSrc
|
# |
| Properties inherited from Atk4\Ui\Form\Control\Upload |
|---|
$defaultTemplate, $inputType, $fileId, $cb, $multiple, $accept, $hasUploadCb, $hasDeleteCb, $jsActions |
| Properties inherited from Atk4\Ui\Form\Control\Input |
|---|
$ui, $placeholder, $icon, $iconLeft, $loading, $label, $labelRight, $action, $actionLeft, $inputAttr |
| Properties inherited from Atk4\Ui\Form\Control |
|---|
$form, $entityField, $controlClass, $layoutWrap, $renderLabel, $width, $caption, $hint, $disabled, $readOnly |
| Properties inherited from Atk4\Ui\View |
|---|
$_jsActions, $model, $region, $class, $style, $attr, $template, $content, $element, $executorFactory, $stickyArgs |
| Properties inherited from Atk4\Ui\AbstractView |
|---|
$_addLater, $_rendered, $elements |
| Properties used from Atk4\Core\AppScopeTrait |
|---|
$_app, $maxNameLength, $uniqueNameHashes |
| Properties used from Atk4\Core\ContainerTrait |
|---|
$_elementNameCounts |
| Properties used from Atk4\Core\InitializerTrait |
|---|
$_initialized |
| Properties used from Atk4\Core\NameTrait |
|---|
$name |
| Properties used from Atk4\Core\TrackableTrait |
|---|
$_owner, $shortName |