ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct (arGUI $parent_gui, ActiveRecord $ar) | |
setArFieldsAfterSubmit () | |
setFields (arEditFields $fields) | |
Setters and Getters *********************. More... | |
getFields () | |
getFieldsAsArray () | |
getField ($field_name) | |
addEditField (arEditField $field) | |
setFormName ($form_name) | |
getFormName () | |
setFormPrefix ($form_prefix) | |
getFormPrefix () | |
Public Member Functions inherited from ilPropertyFormGUI | |
__construct () | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
setTableWidth ($a_width) | |
Set table width. More... | |
getTableWidth () | |
get table width More... | |
setMode ($a_mode) | |
Set Mode ('std', 'subform'). More... | |
getMode () | |
Get Mode ('std', 'subform'). More... | |
setTitle ($a_title) | |
Set Title. More... | |
getTitle () | |
Get Title. More... | |
setTitleIcon ($a_titleicon) | |
Set TitleIcon. More... | |
getTitleIcon () | |
Get TitleIcon. More... | |
setDescription ($a_val) | |
Set description. More... | |
getDescription () | |
Get description. More... | |
setTopAnchor ($a_val) | |
Set top anchor. More... | |
getTopAnchor () | |
Get top anchor. More... | |
setShowTopButtons ($a_val) | |
Get show top buttons. More... | |
getShowTopButtons () | |
Set show top buttons. More... | |
addItem ($a_item) | |
Add Item (Property, SectionHeader). More... | |
removeItemByPostVar ($a_post_var) | |
Remove Item. More... | |
getItemByPostVar ($a_post_var) | |
Get Item by POST variable. More... | |
setItems ($a_items) | |
Set Items. More... | |
getItems () | |
Get Items. More... | |
getInputItemsRecursive () | |
returns a flat array of all input items including the possibly existing subitems recursively More... | |
setDisableStandardMessage ($a_val) | |
Set disable standard message. More... | |
getDisableStandardMessage () | |
Get disable standard message. More... | |
getHideLabels () | |
Get a value indicating whether the labels should be hidden or not. More... | |
setHideLabels ($a_value=true) | |
Set a value indicating whether the labels should be hidden or not. More... | |
setValuesByArray ($a_values, $a_restrict_to_value_keys=false) | |
Set form values from an array. More... | |
setValuesByPost () | |
Set form values from POST values. More... | |
checkInput () | |
Check Post Input. More... | |
getInput ($a_post_var, $ensureValidation=true) | |
Returns the value of a HTTP-POST variable, identified by the passed id. More... | |
addCustomProperty ($a_title, $a_html, $a_info="", $a_alert="", $a_required=false) | |
Add a custom property. More... | |
addCommandButton ($a_cmd, $a_text, $a_id="") | |
Add Command button. More... | |
getCommandButtons () | |
Return all Command buttons. More... | |
clearCommandButtons () | |
Remove all command buttons. More... | |
getContent () | |
Get Content. More... | |
insertItem ($item, $a_sub_item=false) | |
getHTML () | |
getFileUpload ($a_field, $a_index=null, $a_sub_index=null) | |
Get file upload data. More... | |
hasFileUpload ($a_field, $a_index=null, $a_sub_index=null) | |
Was any file uploaded? More... | |
moveFileUpload ($a_target_directory, $a_field, $a_target_name=null, $a_index=null, $a_sub_index=null) | |
Move upload to target directory. More... | |
Public Member Functions inherited from ilFormGUI | |
setFormAction ($a_formaction) | |
Set FormAction. More... | |
getFormAction () | |
Get FormAction. More... | |
setTarget ($a_target) | |
Set Target. More... | |
getTarget () | |
Get Target. More... | |
setMultipart ($a_multipart) | |
Set Enctype Multipart/Formdata true/false. More... | |
getMultipart () | |
Get Enctype Multipart/Formdata true/false. More... | |
setId ($a_id) | |
Set Id. More... | |
getId () | |
Get Id. More... | |
setName ($a_name) | |
Set Name. More... | |
getName () | |
Get Name. More... | |
setKeepOpen ($a_keepopen) | |
Set Keep Form Tag Open. More... | |
getKeepOpen () | |
Get Keep Form Tag Open. More... | |
setOpenTag ($a_open) | |
Enable/Disable Open Form Tag. More... | |
getOpenTag () | |
Get Open Form Tag Enabled. More... | |
setCloseTag ($a_val) | |
Set close tag. More... | |
getCloseTag () | |
Get close tag. More... | |
setPreventDoubleSubmission ($a_val) | |
Set prevent double submission. More... | |
getPreventDoubleSubmission () | |
Get prevent double submission. More... | |
getHTML () | |
Get HTML. More... | |
getContent () | |
Get Content. More... | |
Protected Member Functions | |
init () | |
Form Initialization **********************. More... | |
initFields () | |
customizeFields () | |
initForm () | |
beforeInitForm () | |
initFormAction () | |
initFormTitle () | |
addFormField (arEditField $field) | |
addBooleanInputField (arEditField $field) | |
addTextInputField (arEditField $field) | |
addNumbericInputField (arEditField $field) | |
addDateTimeInputField (arEditField $field) | |
addClobInputField (arEditField $field) | |
initCommandButtons () | |
afterInitForm () | |
beforeFillForm () | |
afterFillForm () | |
fillCustomFormField (arEditField $field) | |
beforeSave () | |
afterSave () | |
afterValidation () | |
setNumericRecordField (arEditField $field) | |
setTextRecordField (arEditField $field) | |
setDateTimeRecordField (arEditField $field) | |
setCustomRecordField (arEditField $field) | |
handleEmptyPostValue (arEditField $field) | |
txt ($txt, $plugin_txt=true) | |
Protected Member Functions inherited from ilPropertyFormGUI | |
hideRequired ($a_type) | |
rebuildUploadedFiles () | |
try to rebuild files More... | |
Protected Attributes | |
$ar | |
$parent_gui | |
$ctrl | |
$form_name = "" | |
$form_prefix = "" | |
$fields | |
Protected Attributes inherited from ilPropertyFormGUI | |
$mode = "std" | |
$check_input_called = false | |
$disable_standard_message = false | |
$top_anchor = "il_form_top" | |
$titleicon = false | |
$description = "" | |
$tbl_width = false | |
$show_top_buttons = true | |
$hide_labels = false | |
Protected Attributes inherited from ilFormGUI | |
$formaction | |
$multipart = false | |
$keepopen = false | |
$opentag = true | |
$id | |
$name | |
$prevent_double_submission = false | |
arEditGUI::__construct | ( | arGUI | $parent_gui, |
ActiveRecord | $ar | ||
) |
arGUI | $parent_gui | |
ActiveRecord | $ar |
Definition at line 45 of file class.arEditGUI.php.
References $ar, $ilCtrl, $parent_gui, init(), and setFormName().
|
protected |
arEditField | $field |
Definition at line 167 of file class.arEditGUI.php.
References arField\getName(), arViewField\getTxt(), and txt().
|
protected |
arEditField | $field |
Definition at line 211 of file class.arEditGUI.php.
References arField\getName(), arViewField\getTxt(), and txt().
Referenced by addFormField().
|
protected |
arEditField | $field |
Definition at line 197 of file class.arEditGUI.php.
References date, arField\getName(), arViewField\getTxt(), IL_CAL_DATE, ilDateTimeInputGUI\setDate(), and txt().
Referenced by addFormField().
arEditGUI::addEditField | ( | arEditField | $field | ) |
arEditField |
Definition at line 533 of file class.arEditGUI.php.
References getFields().
|
protected |
arEditField | $field |
Definition at line 127 of file class.arEditGUI.php.
References addClobInputField(), addDateTimeInputField(), ilPropertyFormGUI\addItem(), addNumbericInputField(), addTextInputField(), arField\getFieldType(), arEditField\getFormElement(), arField\getNotNull(), arEditField\getSubelementOf(), and arEditField\setFormElement().
Referenced by initFormTitle().
|
protected |
arEditField | $field |
Definition at line 187 of file class.arEditGUI.php.
References arField\getName(), arViewField\getTxt(), and txt().
Referenced by addFormField().
|
protected |
arEditField | $field |
Definition at line 177 of file class.arEditGUI.php.
References arField\getName(), arViewField\getTxt(), and txt().
Referenced by addFormField().
|
protected |
Definition at line 255 of file class.arEditGUI.php.
References fillCustomFormField(), arEditField\getFormElement(), arViewField\getGetFunctionName(), IL_CAL_DATETIME, and ilDateTime\setDate().
Referenced by afterInitForm().
|
protected |
Definition at line 226 of file class.arEditGUI.php.
References afterFillForm(), beforeFillForm(), and fields.
Referenced by initForm().
|
protected |
Definition at line 358 of file class.arEditGUI.php.
Referenced by fillCustomFormField().
|
protected |
Definition at line 384 of file class.arEditGUI.php.
References $_POST, $valid, arEditField\getFormElement(), arField\getName(), arField\getPrimary(), handleEmptyPostValue(), setCustomRecordField(), setDateTimeRecordField(), setNumericRecordField(), and setTextRecordField().
Referenced by setArFieldsAfterSubmit().
|
protected |
Definition at line 251 of file class.arEditGUI.php.
Referenced by afterInitForm().
|
protected |
Definition at line 92 of file class.arEditGUI.php.
|
protected |
Definition at line 350 of file class.arEditGUI.php.
Referenced by fillCustomFormField().
|
protected |
Definition at line 78 of file class.arEditGUI.php.
Referenced by initFields().
|
protected |
arEditField | $field |
Definition at line 294 of file class.arEditGUI.php.
References $ilUser, afterSave(), beforeSave(), getFields(), IL_CAL_UNIX, setArFieldsAfterSubmit(), and time.
Referenced by afterFillForm().
arEditGUI::getField | ( | $field_name | ) |
$field_name |
Definition at line 525 of file class.arEditGUI.php.
References getFields().
arEditGUI::getFields | ( | ) |
Definition at line 507 of file class.arEditGUI.php.
References $fields.
Referenced by addEditField(), fillCustomFormField(), getField(), and getFieldsAsArray().
arEditGUI::getFieldsAsArray | ( | ) |
Definition at line 515 of file class.arEditGUI.php.
References getFields().
arEditGUI::getFormName | ( | ) |
Definition at line 560 of file class.arEditGUI.php.
References $form_name.
Referenced by initFormTitle().
arEditGUI::getFormPrefix | ( | ) |
Definition at line 576 of file class.arEditGUI.php.
References $form_prefix.
Referenced by initFormTitle().
|
protected |
arEditField | $field |
Definition at line 487 of file class.arEditGUI.php.
Referenced by afterValidation().
|
protected |
Form Initialization **********************.
Definition at line 62 of file class.arEditGUI.php.
References initFields(), and initForm().
Referenced by __construct().
|
protected |
Definition at line 216 of file class.arEditGUI.php.
References ilPropertyFormGUI\addCommandButton(), and txt().
Referenced by initForm().
|
protected |
Definition at line 71 of file class.arEditGUI.php.
References customizeFields(), and fields.
Referenced by init().
|
protected |
Definition at line 82 of file class.arEditGUI.php.
References afterInitForm(), initCommandButtons(), initFormAction(), and initFormTitle().
Referenced by init().
|
protected |
Definition at line 96 of file class.arEditGUI.php.
References ilFormGUI\setFormAction().
Referenced by initForm().
|
protected |
Definition at line 101 of file class.arEditGUI.php.
References addFormField(), fields, getFormName(), getFormPrefix(), setFormPrefix(), ilPropertyFormGUI\setTitle(), and txt().
Referenced by initForm().
arEditGUI::setArFieldsAfterSubmit | ( | ) |
Definition at line 366 of file class.arEditGUI.php.
References afterValidation(), ilPropertyFormGUI\checkInput(), and fields.
Referenced by fillCustomFormField().
|
protected |
arEditField | $field |
Definition at line 477 of file class.arEditGUI.php.
Referenced by afterValidation().
|
protected |
arEditField | $field |
Definition at line 458 of file class.arEditGUI.php.
References ilPropertyFormGUI\getInput(), arField\getName(), arViewField\getSetFunctionName(), and IL_CAL_DATETIME.
Referenced by afterValidation().
arEditGUI::setFields | ( | arEditFields | $fields | ) |
Setters and Getters *********************.
arEditFields | $fields |
Definition at line 499 of file class.arEditGUI.php.
References $fields, and fields.
arEditGUI::setFormName | ( | $form_name | ) |
string | $form_name |
Definition at line 552 of file class.arEditGUI.php.
References $form_name.
Referenced by __construct().
arEditGUI::setFormPrefix | ( | $form_prefix | ) |
string | $form_prefix |
Definition at line 568 of file class.arEditGUI.php.
References $form_prefix.
Referenced by initFormTitle().
|
protected |
arEditField | $field |
Definition at line 432 of file class.arEditGUI.php.
References ilPropertyFormGUI\getInput(), arField\getName(), and arViewField\getSetFunctionName().
Referenced by afterValidation().
|
protected |
arEditField | $field |
Definition at line 445 of file class.arEditGUI.php.
References ilPropertyFormGUI\getInput(), arField\getName(), and arViewField\getSetFunctionName().
Referenced by afterValidation().
|
protected |
$txt | ||
bool | $plugin_txt |
Definition at line 544 of file class.arEditGUI.php.
References $txt.
Referenced by addBooleanInputField(), addClobInputField(), addDateTimeInputField(), addNumbericInputField(), addTextInputField(), initCommandButtons(), and initFormTitle().
|
protected |
Definition at line 18 of file class.arEditGUI.php.
Referenced by __construct().
|
protected |
Definition at line 26 of file class.arEditGUI.php.
|
protected |
Definition at line 38 of file class.arEditGUI.php.
Referenced by getFields(), and setFields().
|
protected |
Definition at line 30 of file class.arEditGUI.php.
Referenced by getFormName(), and setFormName().
|
protected |
Definition at line 34 of file class.arEditGUI.php.
Referenced by getFormPrefix(), and setFormPrefix().
|
protected |
Definition at line 22 of file class.arEditGUI.php.
Referenced by __construct().