ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
|
Class ilOrgUnitPositionFormGUI. More...
Public Member Functions | |
__construct (protected ?BaseCommands $parent_gui, protected \ilOrgUnitPosition $object) | |
fillForm () | |
saveObject () | |
![]() | |
__construct () | |
executeCommand () | |
setTableWidth (string $a_width) | |
getTableWidth () | |
setMode (string $a_mode) | |
getMode () | |
setTitle (string $a_title) | |
getTitle () | |
setTitleIcon (string $a_titleicon) | |
getTitleIcon () | |
setDescription (string $a_val) | |
getDescription () | |
setTopAnchor (string $a_val) | |
getTopAnchor () | |
setShowTopButtons (bool $a_val) | |
getShowTopButtons () | |
setForceTopButtons (bool $a_val) | |
getForceTopButtons () | |
addItem ($a_item) | |
removeItemByPostVar (string $a_post_var, bool $a_remove_unused_headers=false) | |
getItemByPostVar (string $a_post_var) | |
setItems (array $a_items) | |
getItems () | |
getInputItemsRecursive () | |
returns a flat array of all input items including the possibly existing subitems recursively More... | |
setDisableStandardMessage (bool $a_val) | |
getDisableStandardMessage () | |
getHideLabels () | |
setHideLabels (bool $a_value=true) | |
setValuesByArray (array $a_values, bool $a_restrict_to_value_keys=false) | |
setValuesByPost () | |
checkInput () | |
getInput (string $a_post_var, bool $ensureValidation=true) | |
Returns the input of an item, if item provides getInput method and as fallback the value of the HTTP-POST variable, identified by the passed postvar. More... | |
addCommandButton (string $a_cmd, string $a_text, string $a_id="") | |
getCommandButtons () | |
clearCommandButtons () | |
getContent () | |
insertItem ( $item, bool $a_sub_item=false) | |
addAsyncOnloadCode (string $code) | |
getHTML () | |
getHTMLAsync () | |
getFileUpload (string $a_field, ?string $a_index=null, ?string $a_sub_index=null) | |
Get file upload data. More... | |
hasFileUpload (string $a_field, ?string $a_index=null, ?string $a_sub_index=null) | |
moveFileUpload (string $a_target_directory, string $a_field, ?string $a_target_name=null, ?string $a_index=null, ?string $a_sub_index=null) | |
Move upload to target directory. More... | |
![]() | |
setFormAction (string $a_formaction) | |
getFormAction () | |
setTarget (string $a_target) | |
getTarget () | |
setMultipart (bool $a_multipart) | |
getMultipart () | |
setId (string $a_id) | |
getId () | |
setName (string $a_name) | |
getName () | |
setKeepOpen (bool $a_keepopen) | |
getKeepOpen () | |
setOpenTag (bool $a_open) | |
getOpenTag () | |
setCloseTag (bool $a_val) | |
getCloseTag () | |
setPreventDoubleSubmission (bool $a_val) | |
getPreventDoubleSubmission () | |
getHTML () | |
getContent () | |
Data Fields | |
const | F_AUTHORITIES = "authorities" |
const | F_TITLE = 'title' |
const | F_DESCRIPTION = 'description' |
Protected Member Functions | |
initFormElements () | |
![]() | |
getRequestedPostVar () | |
getFileHash () | |
hideRequired (string $a_type) | |
appendOnloadCode (string $html) | |
rebuildUploadedFiles () | |
checkForRequiredField () | |
Protected Attributes | |
ilOrgUnitPositionDBRepository | $positionRepo |
ILIAS DI Container | $DIC |
ilLanguage | $lng |
ilCtrl | $ctrl |
![]() | |
bool | $required_text = false |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilTemplate | $tpl |
ilObjUser | $user = null |
ilSetting | $settings = null |
string | $mode = "std" |
bool | $check_input_called = false |
bool | $disable_standard_message = false |
string | $top_anchor = "il_form_top" |
string | $title = '' |
string | $titleicon = "" |
string | $description = "" |
string | $tbl_width = "" |
bool | $show_top_buttons = true |
bool | $hide_labels = false |
bool | $force_top_buttons = false |
HTTP Services | $http |
Refinery Factory | $refinery = null |
ilGlobalTemplateInterface | $global_tpl = null |
$onload_code = [] | |
![]() | |
string | $formaction = "" |
bool | $multipart = false |
bool | $keepopen = false |
bool | $opentag = true |
string | $id = '' |
string | $name = '' |
string | $target = '' |
bool | $prevent_double_submission = false |
Private Member Functions | |
initButtons () | |
txt (string $key) | |
infoTxt (string $key) | |
Class ilOrgUnitPositionFormGUI.
Definition at line 26 of file class.ilOrgUnitPositionFormGUI.php.
ilOrgUnitPositionFormGUI::__construct | ( | protected ?BaseCommands | $parent_gui, |
protected \ilOrgUnitPosition | $object | ||
) |
Definition at line 37 of file class.ilOrgUnitPositionFormGUI.php.
References $dic, $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ilOrgUnitLocalDIC\dic(), ilOrgUnitPosition\getId(), initButtons(), initFormElements(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ilFormGUI\setTarget().
ilOrgUnitPositionFormGUI::fillForm | ( | ) |
Definition at line 116 of file class.ilOrgUnitPositionFormGUI.php.
References ilFormGUI\$id, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), null, ILIAS\Repository\object(), and ilPropertyFormGUI\setValuesByArray().
|
private |
Definition at line 178 of file class.ilOrgUnitPositionFormGUI.php.
References ILIAS\Repository\lng().
|
private |
Definition at line 103 of file class.ilOrgUnitPositionFormGUI.php.
References ilPropertyFormGUI\addCommandButton(), ILIAS\Repository\object(), ilPropertyFormGUI\setTitle(), and txt().
Referenced by __construct().
|
protected |
Definition at line 62 of file class.ilOrgUnitPositionFormGUI.php.
References $DIC, ilFormGUI\$id, $scope, $scopes, $txt, ilPropertyFormGUI\addItem(), ilOrgUnitAuthority\getScopes(), ilOrgUnitGenericMultiInputGUI\MULTI_FIELD_ID, ilOrgUnitGenericMultiInputGUI\MULTI_FIELD_OVER, ilOrgUnitGenericMultiInputGUI\MULTI_FIELD_SCOPE, ilOrgUnitAuthority\OVER_EVERYONE, ilSelectInputGUI\setOptions(), and ilOrgUnitGenericMultiInputGUI\setShowLabel().
Referenced by __construct().
ilOrgUnitPositionFormGUI::saveObject | ( | ) |
Definition at line 163 of file class.ilOrgUnitPositionFormGUI.php.
|
private |
Definition at line 173 of file class.ilOrgUnitPositionFormGUI.php.
References ILIAS\Repository\lng().
Referenced by initButtons().
|
protected |
Definition at line 35 of file class.ilOrgUnitPositionFormGUI.php.
|
protected |
Definition at line 33 of file class.ilOrgUnitPositionFormGUI.php.
Referenced by __construct(), and initFormElements().
|
protected |
Definition at line 34 of file class.ilOrgUnitPositionFormGUI.php.
|
protected |
Definition at line 31 of file class.ilOrgUnitPositionFormGUI.php.
const ilOrgUnitPositionFormGUI::F_AUTHORITIES = "authorities" |
Definition at line 28 of file class.ilOrgUnitPositionFormGUI.php.
const ilOrgUnitPositionFormGUI::F_DESCRIPTION = 'description' |
Definition at line 30 of file class.ilOrgUnitPositionFormGUI.php.
const ilOrgUnitPositionFormGUI::F_TITLE = 'title' |
Definition at line 29 of file class.ilOrgUnitPositionFormGUI.php.