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. | |
setUseCache ($a_cache) | |
Set cache. | |
getUseCache () | |
Get cache. | |
setImage ($a_image) | |
Set Image. | |
getImage () | |
Get Image. | |
setAlt ($a_alt) | |
Set Alternative Text. | |
getAlt () | |
Get Alternative Text. | |
insert (&$a_tpl) | |
Insert property html. | |
getDeletionFlag () | |
Get deletion flag. | |
Public Member Functions inherited from ilFileInputGUI | |
setValueByArray ($a_values) | |
Set value by array. | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
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. | |
checkInput () | |
Check input, strip slashes etc. | |
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 | |
$cache | |
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.ilImageFileInputGUI.php.
ilImageFileInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilFileInputGUI.
Reimplemented in ilImagemapFileInputGUI.
Definition at line 21 of file class.ilImageFileInputGUI.php.
References $lng, ilFormPropertyGUI\setHiddenTitle(), ilFileInputGUI\setSuffixes(), and ilFormPropertyGUI\setType().
ilImageFileInputGUI::getAlt | ( | ) |
Get Alternative Text.
Definition at line 88 of file class.ilImageFileInputGUI.php.
Referenced by insert(), and ilImagemapFileInputGUI\insert().
ilImageFileInputGUI::getDeletionFlag | ( | ) |
Get deletion flag.
Definition at line 161 of file class.ilImageFileInputGUI.php.
References $_POST, and ilFormPropertyGUI\getPostVar().
ilImageFileInputGUI::getImage | ( | ) |
Get Image.
Definition at line 68 of file class.ilImageFileInputGUI.php.
Referenced by insert(), and ilImagemapFileInputGUI\insert().
ilImageFileInputGUI::getUseCache | ( | ) |
Get cache.
Definition at line 48 of file class.ilImageFileInputGUI.php.
References $cache.
Referenced by insert().
ilImageFileInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Reimplemented from ilFileInputGUI.
Reimplemented in ilImagemapFileInputGUI.
Definition at line 96 of file class.ilImageFileInputGUI.php.
References $lng, getAlt(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getImage(), ilFileInputGUI\getMaxFileSizeString(), ilFormPropertyGUI\getPostVar(), getUseCache(), ilFileInputGUI\getValue(), and ilFileInputGUI\outputSuffixes().
ilImageFileInputGUI::setAlt | ( | $a_alt | ) |
Set Alternative Text.
string | $a_alt | Alternative Text |
Definition at line 78 of file class.ilImageFileInputGUI.php.
ilImageFileInputGUI::setImage | ( | $a_image | ) |
Set Image.
string | $a_image | Image |
Definition at line 58 of file class.ilImageFileInputGUI.php.
Referenced by ilObjUserGUI\initForm().
ilImageFileInputGUI::setUseCache | ( | $a_cache | ) |
Set cache.
boolean | $a_cache | If false, the image will be forced to reload in the browser by adding an URL parameter with the actual timestamp |
Definition at line 38 of file class.ilImageFileInputGUI.php.
|
protected |
Definition at line 13 of file class.ilImageFileInputGUI.php.
Referenced by getUseCache().