ILIAS
eassessment Revision 61809
|
This class represents a file wizard property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setImagePathWeb ($a_path) | |
Set the web image path. | |
getImagePathWeb () | |
Get the web image path. | |
setFilenames ($a_filenames) | |
Set filenames. | |
getFilenames () | |
Get filenames. | |
setAllowMove ($a_allow_move) | |
Set allow move. | |
getAllowMove () | |
Get allow move. | |
checkInput () | |
Check input, strip slashes etc. | |
insert (&$a_tpl) | |
Insert property html. | |
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. | |
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 | |
$filenames = array() | |
$allowMove = false | |
$imagepath_web = "" | |
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 | |
$hidden_title = "" |
Additional Inherited Members | |
Protected Member Functions inherited from ilFileInputGUI | |
outputSuffixes ($a_tpl, $a_block="allowed_suffixes") | |
getMaxFileSizeString () |
This class represents a file wizard property in a property form.
Definition at line 31 of file class.ilFileWizardInputGUI.php.
ilFileWizardInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilFileInputGUI.
Definition at line 43 of file class.ilFileWizardInputGUI.php.
ilFileWizardInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFileInputGUI.
Definition at line 113 of file class.ilFileWizardInputGUI.php.
References $error, ilFileInputGUI\$filename, $lng, $name, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFileInputGUI\getSuffixes(), ilFormPropertyGUI\setAlert(), and ilUtil\virusHandling().
ilFileWizardInputGUI::getAllowMove | ( | ) |
Get allow move.
Definition at line 103 of file class.ilFileWizardInputGUI.php.
References $allowMove.
Referenced by insert().
ilFileWizardInputGUI::getFilenames | ( | ) |
Get filenames.
Definition at line 83 of file class.ilFileWizardInputGUI.php.
References $filenames.
ilFileWizardInputGUI::getImagePathWeb | ( | ) |
Get the web image path.
Definition at line 63 of file class.ilFileWizardInputGUI.php.
References $imagepath_web.
Referenced by insert().
ilFileWizardInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Reimplemented from ilFileInputGUI.
Definition at line 222 of file class.ilFileWizardInputGUI.php.
References $lng, $tpl, getAllowMove(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilUtil\getImagePath(), getImagePathWeb(), ilFileInputGUI\getMaxFileSizeString(), ilFormPropertyGUI\getPostVar(), ilYuiUtil\initDomEvent(), ilFileInputGUI\outputSuffixes(), and ilUtil\prepareFormOutput().
ilFileWizardInputGUI::setAllowMove | ( | $a_allow_move | ) |
Set allow move.
boolean | $a_allow_move | Allow move |
Definition at line 93 of file class.ilFileWizardInputGUI.php.
ilFileWizardInputGUI::setFilenames | ( | $a_filenames | ) |
Set filenames.
array | $a_value | Value |
Definition at line 73 of file class.ilFileWizardInputGUI.php.
Referenced by ilObjExerciseGUI\initUploadForm().
ilFileWizardInputGUI::setImagePathWeb | ( | $a_path | ) |
Set the web image path.
string | $a_path | Path |
Definition at line 53 of file class.ilFileWizardInputGUI.php.
|
protected |
Definition at line 34 of file class.ilFileWizardInputGUI.php.
Referenced by getAllowMove().
|
protected |
Definition at line 33 of file class.ilFileWizardInputGUI.php.
Referenced by getFilenames().
|
protected |
Definition at line 35 of file class.ilFileWizardInputGUI.php.
Referenced by getImagePathWeb().