ILIAS
Release_4_0_x_branch Revision 61816
|
This class represents an image map file property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setAreas ($a_areas) | |
getLineColor () | |
setLineColor ($a_color) | |
getImagePath () | |
setImagePath ($a_path) | |
getImagePathWeb () | |
setImagePathWeb ($a_path_web) | |
setAreasByArray ($a_areas) | |
getAreas () | |
setValueByArray ($a_values) | |
Set value by array. | |
setValue ($a_value) | |
Set Value. | |
checkInput () | |
Check input, strip slashes etc. | |
insert (&$a_tpl) | |
Insert property html. | |
Public Member Functions inherited from ilImageFileInputGUI | |
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. | |
getDeletionFlag () | |
Get deletion flag. | |
Public Member Functions inherited from ilFileInputGUI | |
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. | |
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 | |
$areas = array() | |
$image_path = "" | |
$image_path_web = "" | |
$line_color = "" | |
Protected Attributes inherited from ilImageFileInputGUI | |
$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 map file property in a property form.
Definition at line 13 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilImageFileInputGUI.
Definition at line 26 of file class.ilImagemapFileInputGUI.php.
References $lng.
ilImagemapFileInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFileInputGUI.
Definition at line 107 of file class.ilImagemapFileInputGUI.php.
References $_POST, $error, ilFileInputGUI\$filename, $lng, $name, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFileInputGUI\getSuffixes(), ilFileInputGUI\getValue(), ilFormPropertyGUI\setAlert(), ilUtil\stripSlashesRecursive(), and ilUtil\virusHandling().
ilImagemapFileInputGUI::getAreas | ( | ) |
Definition at line 81 of file class.ilImagemapFileInputGUI.php.
References $areas.
Referenced by insert().
ilImagemapFileInputGUI::getImagePath | ( | ) |
Definition at line 48 of file class.ilImagemapFileInputGUI.php.
References $image_path.
Referenced by insert().
ilImagemapFileInputGUI::getImagePathWeb | ( | ) |
Definition at line 58 of file class.ilImagemapFileInputGUI.php.
References $image_path_web.
Referenced by insert().
ilImagemapFileInputGUI::getLineColor | ( | ) |
Definition at line 38 of file class.ilImagemapFileInputGUI.php.
References $line_color.
Referenced by insert().
ilImagemapFileInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Reimplemented from ilImageFileInputGUI.
Definition at line 226 of file class.ilImagemapFileInputGUI.php.
References $lng, $preview, $tpl, ilImageFileInputGUI\getAlt(), getAreas(), ilFormPropertyGUI\getFieldId(), ilImageFileInputGUI\getImage(), getImagePath(), ilUtil\getImagePath(), getImagePathWeb(), getLineColor(), ilFileInputGUI\getMaxFileSizeString(), ilFormPropertyGUI\getPostVar(), ilFileInputGUI\getValue(), ilYuiUtil\initDomEvent(), and ilFileInputGUI\outputSuffixes().
ilImagemapFileInputGUI::setAreas | ( | $a_areas | ) |
Definition at line 33 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setAreasByArray | ( | $a_areas | ) |
Definition at line 68 of file class.ilImagemapFileInputGUI.php.
References $name.
Referenced by setValueByArray().
ilImagemapFileInputGUI::setImagePath | ( | $a_path | ) |
Definition at line 53 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setImagePathWeb | ( | $a_path_web | ) |
Definition at line 63 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::setLineColor | ( | $a_color | ) |
Definition at line 43 of file class.ilImagemapFileInputGUI.php.
ilImagemapFileInputGUI::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 97 of file class.ilImagemapFileInputGUI.php.
Referenced by setValueByArray().
ilImagemapFileInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Reimplemented from ilFileInputGUI.
Definition at line 91 of file class.ilImagemapFileInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setAreasByArray(), and setValue().
|
protected |
Definition at line 15 of file class.ilImagemapFileInputGUI.php.
Referenced by getAreas().
|
protected |
Definition at line 16 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePath().
|
protected |
Definition at line 17 of file class.ilImagemapFileInputGUI.php.
Referenced by getImagePathWeb().
|
protected |
Definition at line 18 of file class.ilImagemapFileInputGUI.php.
Referenced by getLineColor().