ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
viewObject () | |
authSettingsObject () | |
display settings menu More... | |
loginInfoObject () | |
displays login information of all installed languages More... | |
cancelObject () | |
setAuthModeObject () | |
editSOAPObject () | |
Configure soap settings. More... | |
testSoapAuthConnectionObject () | |
saveSOAPObject () | |
validates all input data, save them to database if correct and active chosen auth mode More... | |
editScriptObject () | |
Configure Custom settings. More... | |
saveScriptObject () | |
validates all input data, save them to database if correct and active chosen auth mode More... | |
getAuthModeTitle () | |
get the title of auth mode More... | |
updateAuthRolesObject () | |
updateAuthModeDeterminationObject () | |
update auth mode determination More... | |
executeCommand () | |
Execute command. More... | |
getAdminTabs () | |
setSubTabs (string $a_tab) | |
set sub tabs More... | |
apacheAuthSettingsObject (?ilPropertyFormGUI $form=null) | |
saveApacheSettingsObject () | |
getApacheAuthSettingsForm () | |
registrationSettingsObject () | |
![]() | |
__construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true) | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More... | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Protected Member Functions | |
initAuthModeDetermination () | |
init auth mode determinitation form More... | |
getTabs () | |
get tabs More... | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
setTabs () | |
set admin tabs More... | |
setAdminTabs () | |
set admin tabs More... | |
setLocator () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator (bool $omit=true) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms (string $new_type) | |
Init creation forms. More... | |
getCreationFormsHTML (array $forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm (string $new_type) | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm (string $new_type) | |
importFileObject (int $parent_id=null) | |
afterImport (ilObject $new_object) | |
Post (successful) object import hook. More... | |
setFormAction (string $cmd, string $form_action) | |
getReturnLocation (string $cmd, string $default_location="") | |
Get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
getTargetFrame (string $cmd, string $default_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
getTabs () | |
overwrite in derived GUI class of your object type More... | |
redirectToRefId (int $ref_id, string $cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More... | |
fillCloneTemplate (?string $tpl_name, string $type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true) | |
show edit section of custom icons for container More... | |
Private Member Functions | |
buildSOAPForm (string $submit_action) | |
buildSOAPTestForm (string $submit_action) | |
validateApacheAuthAllowedDomains (string $text) | |
Private Attributes | |
ilLogger | $logger |
ILIAS UI Factory | $ui |
ILIAS UI Renderer | $renderer |
ILIAS Http Services | $http |
ilPropertyFormGUI | $form |
ilObjAuthSettingsGUI: ilPermissionGUI, ilRegistrationSettingsGUI, ilLDAPSettingsGUI ilObjAuthSettingsGUI: ilAuthShibbolethSettingsGUI, ilCASSettingsGUI ilObjAuthSettingsGUI: ilSamlSettingsGUI, ilOpenIdConnectSettingsGUI
Definition at line 28 of file class.ilObjAuthSettingsGUI.php.
ilObjAuthSettingsGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Definition at line 37 of file class.ilObjAuthSettingsGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\ui().
ilObjAuthSettingsGUI::apacheAuthSettingsObject | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 976 of file class.ilObjAuthSettingsGUI.php.
References $path, ilObjectGUI\$settings, CLIENT_ID, ilSetting\getAll(), getApacheAuthSettingsForm(), ILIAS_DATA_DIR, and ilPropertyFormGUI\setValuesByArray().
Referenced by saveApacheSettingsObject().
ilObjAuthSettingsGUI::authSettingsObject | ( | ) |
display settings menu
Definition at line 61 of file class.ilObjAuthSettingsGUI.php.
References ilObjectGUI\$id, $name, $server, ilAuthUtils\_getActiveAuthModes(), ilAuthUtils\_getAllAuthModes(), ilAuthUtils\_getAuthModeName(), ilObjUser\_getNumberOfUsersPerAuthMode(), ilObjRole\_lookupRegisterAllowed(), ilAuthUtils\AUTH_APACHE, ilAuthUtils\AUTH_CAS, ilAuthUtils\AUTH_LDAP, ilAuthUtils\AUTH_LOCAL, ilAuthUtils\AUTH_OPENID_CONNECT, ilAuthUtils\AUTH_SAML, ilAuthUtils\AUTH_SHIBBOLETH, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilSamlIdp\getIdpIdByAuthMode(), ilUtil\getImagePath(), ilOpenIdConnectSettings\getInstance(), ilSamlIdp\getInstanceByIdpId(), ilLDAPServer\getInstanceByServerId(), ilLDAPServer\getServerIdByAuthMode(), initAuthModeDetermination(), ILIAS\Repository\int(), ilLDAPServer\isAuthModeLDAP(), ilSamlIdp\isAuthModeSaml(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), setSubTabs(), ILIAS\Repository\settings(), and ILIAS\Repository\ui().
Referenced by viewObject().
|
private |
Definition at line 339 of file class.ilObjAuthSettingsGUI.php.
References $form, $namespace, $server, ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), ILIAS\Repository\ui(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by editSOAPObject(), saveSOAPObject(), and testSoapAuthConnectionObject().
|
private |
Definition at line 427 of file class.ilObjAuthSettingsGUI.php.
References $ext_uid, $form, $new_user, $soap_pw, and ILIAS\Repository\ui().
Referenced by editSOAPObject(), saveSOAPObject(), and testSoapAuthConnectionObject().
ilObjAuthSettingsGUI::cancelObject | ( | ) |
Definition at line 268 of file class.ilObjAuthSettingsGUI.php.
References ILIAS\Repository\ctrl().
ilObjAuthSettingsGUI::editScriptObject | ( | ) |
Configure Custom settings.
Definition at line 531 of file class.ilObjAuthSettingsGUI.php.
References ilObjectGUI\$settings, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilObjAuthSettingsGUI::editSOAPObject | ( | ) |
Configure soap settings.
Definition at line 452 of file class.ilObjAuthSettingsGUI.php.
References $panel, buildSOAPForm(), buildSOAPTestForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
ilObjAuthSettingsGUI::executeCommand | ( | ) |
Execute command.
Called from control class
Definition at line 777 of file class.ilObjAuthSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), and setSubTabs().
ilObjAuthSettingsGUI::getAdminTabs | ( | ) |
Definition at line 864 of file class.ilObjAuthSettingsGUI.php.
References getTabs().
ilObjAuthSettingsGUI::getApacheAuthSettingsForm | ( | ) |
Definition at line 1039 of file class.ilObjAuthSettingsGUI.php.
References $form, $txt, ilObject\_lookupTitle(), ILIAS\Repository\access(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilAuthUtils\AUTH_APACHE, ILIAS\Repository\ctrl(), ilLDAPServer\getDataSource(), ilLDAPServer\getServerIds(), ILIAS\Repository\lng(), ilRadioOption\setDisabled(), ilFormGUI\setFormAction(), ilSelectInputGUI\setOptions(), ilPropertyFormGUI\setTitle(), and ilCheckboxInputGUI\setValue().
Referenced by apacheAuthSettingsObject(), and saveApacheSettingsObject().
ilObjAuthSettingsGUI::getAuthModeTitle | ( | ) |
get the title of auth mode
Definition at line 600 of file class.ilObjAuthSettingsGUI.php.
References ilAuthUtils\AUTH_APACHE, ilAuthUtils\AUTH_LDAP, ilAuthUtils\AUTH_LOCAL, ilAuthUtils\AUTH_SAML, ilAuthUtils\AUTH_SCRIPT, ilAuthUtils\AUTH_SHIBBOLETH, and ILIAS\Repository\lng().
Referenced by saveScriptObject(), and setAuthModeObject().
|
protected |
get tabs
Definition at line 872 of file class.ilObjAuthSettingsGUI.php.
References ILIAS\Repository\ctrl(), ilSamlSettingsGUI\DEFAULT_CMD, ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by getAdminTabs().
|
protected |
init auth mode determinitation form
Definition at line 660 of file class.ilObjAuthSettingsGUI.php.
References $server, ilAuthModeDetermination\_getInstance(), ILIAS\Repository\access(), ilAuthUtils\AUTH_APACHE, ilAuthUtils\AUTH_LOCAL, ilAuthUtils\AUTH_SOAP, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilAuthUtils\getAuthPlugins(), ilLDAPServer\getInstanceByServerId(), ilLDAPServer\getServerIdByAuthMode(), ilLDAPServer\isAuthModeLDAP(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setInfo().
Referenced by authSettingsObject().
ilObjAuthSettingsGUI::loginInfoObject | ( | ) |
displays login information of all installed languages
Definition at line 242 of file class.ilObjAuthSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and setSubTabs().
ilObjAuthSettingsGUI::registrationSettingsObject | ( | ) |
Definition at line 1156 of file class.ilObjAuthSettingsGUI.php.
References ILIAS\Repository\ctrl().
ilObjAuthSettingsGUI::saveApacheSettingsObject | ( | ) |
Definition at line 996 of file class.ilObjAuthSettingsGUI.php.
References $DIC, $ilSetting, ilObjectGUI\$settings, apacheAuthSettingsObject(), ilAuthUtils\AUTH_APACHE, ilAuthUtils\AUTH_LOCAL, ilPropertyFormGUI\checkInput(), CLIENT_ID, ILIAS\Repository\ctrl(), getApacheAuthSettingsForm(), ilPropertyFormGUI\getInput(), ILIAS_DATA_DIR, ILIAS\Repository\lng(), ilSetting\set(), ilPropertyFormGUI\setValuesByPost(), and validateApacheAuthAllowedDomains().
ilObjAuthSettingsGUI::saveScriptObject | ( | ) |
validates all input data, save them to database if correct and active chosen auth mode
Definition at line 570 of file class.ilObjAuthSettingsGUI.php.
References ilAuthUtils\AUTH_SCRIPT, ILIAS\Repository\ctrl(), getAuthModeTitle(), and ILIAS\Repository\lng().
ilObjAuthSettingsGUI::saveSOAPObject | ( | ) |
validates all input data, save them to database if correct and active chosen auth mode
Definition at line 493 of file class.ilObjAuthSettingsGUI.php.
References $panel, buildSOAPForm(), buildSOAPTestForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\settings(), and ILIAS\Repository\ui().
ilObjAuthSettingsGUI::setAuthModeObject | ( | ) |
Definition at line 273 of file class.ilObjAuthSettingsGUI.php.
References ilAuthUtils\AUTH_LDAP, ilAuthUtils\AUTH_SAML, ilAuthUtils\AUTH_SCRIPT, ilAuthUtils\AUTH_SHIBBOLETH, ILIAS\Repository\ctrl(), getAuthModeTitle(), ilObjectGUI\getReturnLocation(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\object(), ilUtil\redirect(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
ilObjAuthSettingsGUI::setSubTabs | ( | string | $a_tab | ) |
set sub tabs
Definition at line 953 of file class.ilObjAuthSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by authSettingsObject(), executeCommand(), and loginInfoObject().
ilObjAuthSettingsGUI::testSoapAuthConnectionObject | ( | ) |
Definition at line 466 of file class.ilObjAuthSettingsGUI.php.
References $panel, buildSOAPForm(), buildSOAPTestForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilSOAPAuth\testConnection(), and ILIAS\Repository\ui().
ilObjAuthSettingsGUI::updateAuthModeDeterminationObject | ( | ) |
update auth mode determination
Definition at line 735 of file class.ilObjAuthSettingsGUI.php.
References ilAuthModeDetermination\_getInstance(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), and ilAuthModeDetermination\TYPE_AUTOMATIC.
ilObjAuthSettingsGUI::updateAuthRolesObject | ( | ) |
Definition at line 634 of file class.ilObjAuthSettingsGUI.php.
References ilObjRole\_updateAuthMode(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
private |
Definition at line 1151 of file class.ilObjAuthSettingsGUI.php.
Referenced by saveApacheSettingsObject().
ilObjAuthSettingsGUI::viewObject | ( | ) |
Definition at line 53 of file class.ilObjAuthSettingsGUI.php.
References authSettingsObject().
|
private |
Definition at line 35 of file class.ilObjAuthSettingsGUI.php.
Referenced by buildSOAPForm(), buildSOAPTestForm(), and getApacheAuthSettingsForm().
|
private |
Definition at line 33 of file class.ilObjAuthSettingsGUI.php.
|
private |
Definition at line 30 of file class.ilObjAuthSettingsGUI.php.
|
private |
Definition at line 32 of file class.ilObjAuthSettingsGUI.php.
|
private |
Definition at line 31 of file class.ilObjAuthSettingsGUI.php.