ILIAS
Release_4_0_x_branch Revision 61816
|
This class represents an image file property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setValueByArray ($a_values) | |
Set value by array. | |
getValue () | |
Get Value. | |
setValue ($a_value) | |
Set Value. | |
checkInput () | |
Check input, strip slashes etc. | |
setApplet ($a_applet) | |
Set applet. | |
getApplet () | |
Get applet. | |
setAppletPathWeb ($a_path) | |
Set applet.path web. | |
getAppletPathWeb () | |
Get applet.path web. | |
getWidth () | |
Get width. | |
setWidth ($a_width) | |
Set width. | |
getHeight () | |
Get height. | |
setHeight ($a_height) | |
Set height. | |
getParameters () | |
Get parameters. | |
setParameters ($a_parameters) | |
Set parameters. | |
addParameter ($name, $value) | |
Add parameter. | |
removeParameter ($name) | |
Remove parameter. | |
clearParameters () | |
Remove all parameters. | |
insert (&$a_tpl) | |
Insert property html. | |
getDeletionFlag () | |
Get deletion flag. | |
Public Member Functions inherited from ilFileInputGUI | |
setSize ($a_size) | |
Set Size. | |
getSize () | |
Get Size. | |
setFilename ($a_val) | |
Set filename value (if filename selection is enabled) | |
getFilename () | |
Get Value. | |
setSuffixes ($a_suffixes) | |
Set Accepted Suffixes. | |
getSuffixes () | |
Get Accepted Suffixes. | |
enableFileNameSelection ($a_post_var) | |
If enabled, users get the possibility to enter a filename for the uploaded file. | |
isFileNameSelectionEnabled () | |
Check if filename selection is enabled. | |
getFileNamePostVar () | |
Get file name post var. | |
render ($a_mode="") | |
Render html. | |
getToolbarHTML () | |
Get HTML for toolbar. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | executeCommand () |
Execute command. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
hideSubForm () | |
Sub form hidden on init? | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) |
Protected Attributes | |
$applet | |
$applet_path_web | |
$width | |
$height | |
$parameters | |
Protected Attributes inherited from ilFileInputGUI | |
$size = 40 | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform |
Additional Inherited Members | |
Protected Member Functions inherited from ilFileInputGUI | |
outputSuffixes ($a_tpl, $a_block="allowed_suffixes") | |
getMaxFileSizeString () |
This class represents an image file property in a property form.
Definition at line 11 of file class.ilFlashFileInputGUI.php.
ilFlashFileInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilFileInputGUI.
Definition at line 25 of file class.ilFlashFileInputGUI.php.
References ilFileInputGUI\setSuffixes(), and ilFormPropertyGUI\setType().
ilFlashFileInputGUI::addParameter | ( | $name, | |
$value | |||
) |
Add parameter.
string | $name | Parameter name |
string | $value | Parameter value |
Definition at line 291 of file class.ilFlashFileInputGUI.php.
References $name.
ilFlashFileInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFileInputGUI.
Definition at line 73 of file class.ilFlashFileInputGUI.php.
References $_POST, $error, ilFileInputGUI\$filename, $lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFileInputGUI\getSuffixes(), getValue(), ilFormPropertyGUI\setAlert(), and ilUtil\virusHandling().
ilFlashFileInputGUI::clearParameters | ( | ) |
Remove all parameters.
Definition at line 309 of file class.ilFlashFileInputGUI.php.
ilFlashFileInputGUI::getApplet | ( | ) |
Get applet.
Definition at line 200 of file class.ilFlashFileInputGUI.php.
References $applet.
Referenced by getValue(), and insert().
ilFlashFileInputGUI::getAppletPathWeb | ( | ) |
Get applet.path web.
Definition at line 220 of file class.ilFlashFileInputGUI.php.
References $applet_path_web.
Referenced by insert().
ilFlashFileInputGUI::getDeletionFlag | ( | ) |
Get deletion flag.
Definition at line 392 of file class.ilFlashFileInputGUI.php.
References $_POST, and ilFormPropertyGUI\getPostVar().
ilFlashFileInputGUI::getHeight | ( | ) |
Get height.
Definition at line 250 of file class.ilFlashFileInputGUI.php.
References $height.
Referenced by insert().
ilFlashFileInputGUI::getParameters | ( | ) |
Get parameters.
Definition at line 270 of file class.ilFlashFileInputGUI.php.
References $parameters.
Referenced by insert().
ilFlashFileInputGUI::getValue | ( | ) |
Get Value.
Reimplemented from ilFileInputGUI.
Definition at line 45 of file class.ilFlashFileInputGUI.php.
References getApplet().
Referenced by checkInput().
ilFlashFileInputGUI::getWidth | ( | ) |
Get width.
Definition at line 230 of file class.ilFlashFileInputGUI.php.
References $width.
Referenced by insert().
ilFlashFileInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Reimplemented from ilFileInputGUI.
Definition at line 317 of file class.ilFlashFileInputGUI.php.
References $lng, $name, $params, $tpl, getApplet(), getAppletPathWeb(), ilFormPropertyGUI\getFieldId(), getHeight(), ilFileInputGUI\getMaxFileSizeString(), getParameters(), ilFormPropertyGUI\getPostVar(), getWidth(), ilYuiUtil\initConnectionWithAnimation(), ilFileInputGUI\outputSuffixes(), and ilUtil\prepareFormOutput().
ilFlashFileInputGUI::removeParameter | ( | $name | ) |
Remove parameter.
string | $name | Parameter name |
Definition at line 301 of file class.ilFlashFileInputGUI.php.
References $name.
ilFlashFileInputGUI::setApplet | ( | $a_applet | ) |
Set applet.
string | $a_applet | Applet |
Definition at line 190 of file class.ilFlashFileInputGUI.php.
Referenced by setValue().
ilFlashFileInputGUI::setAppletPathWeb | ( | $a_path | ) |
Set applet.path web.
string | $a_path | Applet path web |
Definition at line 210 of file class.ilFlashFileInputGUI.php.
ilFlashFileInputGUI::setHeight | ( | $a_height | ) |
Set height.
integer | $a_height | height |
Definition at line 260 of file class.ilFlashFileInputGUI.php.
Referenced by setValue().
ilFlashFileInputGUI::setParameters | ( | $a_parameters | ) |
Set parameters.
array | $a_parameters | Parameters |
Definition at line 280 of file class.ilFlashFileInputGUI.php.
ilFlashFileInputGUI::setValue | ( | $a_value | ) |
Set Value.
(used for displaying file title of existing file below input field)
string | $a_value | Value |
Reimplemented from ilFileInputGUI.
Definition at line 50 of file class.ilFlashFileInputGUI.php.
References setApplet(), setHeight(), and setWidth().
Referenced by setValueByArray().
ilFlashFileInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Reimplemented from ilFileInputGUI.
Definition at line 40 of file class.ilFlashFileInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
ilFlashFileInputGUI::setWidth | ( | $a_width | ) |
Set width.
integer | $a_width | width |
Definition at line 240 of file class.ilFlashFileInputGUI.php.
Referenced by setValue().
|
protected |
Definition at line 13 of file class.ilFlashFileInputGUI.php.
Referenced by getApplet().
|
protected |
Definition at line 14 of file class.ilFlashFileInputGUI.php.
Referenced by getAppletPathWeb().
|
protected |
Definition at line 16 of file class.ilFlashFileInputGUI.php.
Referenced by getHeight().
|
protected |
Definition at line 17 of file class.ilFlashFileInputGUI.php.
Referenced by getParameters().
|
protected |
Definition at line 15 of file class.ilFlashFileInputGUI.php.
Referenced by getWidth().