Jelix 1.6.40

imageupload_htmlFormWidget extends upload2_htmlFormWidget
in package

HTML form builder

Tags
subpackage

forms_widget_plugin

link
http://developer.jelix.org/wiki/rfc/jforms-controls-plugins

Table of Contents

$baseURI  : string
$dialogHeight  : mixed
$dialogWidth  : mixed
$imgMaxHeight  : mixed
$imgMaxWidth  : mixed
$newImgMaxHeight  : mixed
$newImgMaxWidth  : mixed
$uriAction  : string
$uriActionFileParameter  : string
parameter name containing the control value, for the jUrl object used to get the URL of the image.
$uriActionParameters  : array<string|int, mixed>
addFinalJs()  : mixed
addJs()  : mixed
controlJsChild()  : mixed
outputControl()  : mixed
outputControlValue()  : mixed
outputMetaContent()  : mixed
setAttributes()  : mixed
setDefaultAttributes()  : mixed
_outputControlValue()  : mixed
_outputInputFile()  : mixed
filterImageAttributes()  : mixed
filterUploadAttributes()  : mixed
jsChoiceInternal()  : mixed
outputJs()  : mixed

Properties

$uriAction

protected string $uriAction = ''

the jUrl action selector used to get the URL of the image

$uriActionFileParameter

parameter name containing the control value, for the jUrl object used to get the URL of the image.

protected string $uriActionFileParameter = ''

The parameter can already exists into $uriActionParameters and could contain a %s pattern that will be replaced by the value. Else the existing parameter value will be replaced by the new value.

parameter name containing the control value

$uriActionParameters

protected array<string|int, mixed> $uriActionParameters = array()

parameters for the jUrl object used to get the URL of the image

Methods

setDefaultAttributes()

public setDefaultAttributes(mixed $attr) : mixed
Parameters
$attr : mixed
Return values
mixed

_outputControlValue()

protected _outputControlValue(mixed $fileName[, mixed $suffixId = '' ]) : mixed
Parameters
$fileName : mixed
$suffixId : mixed = ''
Return values
mixed

_outputInputFile()

protected _outputInputFile(mixed $attr[, mixed $idChoiceItem = '' ][, mixed $existingFile = '' ]) : mixed
Parameters
$attr : mixed
$idChoiceItem : mixed = ''
$existingFile : mixed = ''
Return values
mixed

filterImageAttributes()

protected filterImageAttributes(array<string|int, mixed> &$attr) : mixed
Parameters
$attr : array<string|int, mixed>
Return values
mixed

filterUploadAttributes()

protected filterUploadAttributes(array<string|int, mixed> &$attr) : mixed
Parameters
$attr : array<string|int, mixed>
Return values
mixed

Search results