ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
dummy_client.php File Reference

Go to the source code of this file.

Functions

 showResult (nusoap_client $client, array $data, string $message)
 

Variables

 exit
 
 $server = $_GET["server"] ?: "http://localhost/Services/SOAPAuth/dummy_server.php"
 
 $ext_uid = $_GET["ext_uid"] ?: "testuser"
 
 $soap_pw = $_GET["soap_pw"] ?: "testpw"
 
 $new_user = $_GET["new_user"]
 
 $client = new nusoap_client($server)
 
if($err=$client->getError()) $namespace = "http://testuri.org"
 
 $valid
 

Function Documentation

◆ showResult()

showResult ( nusoap_client  $client,
array  $data,
string  $message 
)

Definition at line 74 of file dummy_client.php.

74 : void
75{
76 if ($client->fault) {
77 echo '<h2>Fault</h2><pre>';
78 print_r($data);
79 echo '</pre>';
80 } else {
81 // Check for errors
82 $err = $client->getError();
83 if ($err) {
84 // Display the error
85 echo '<h2>Error</h2><pre>' . $err . '</pre>';
86 exit;
87 } else {
88 // Display the result
89 echo '<h2>Result ' . $message . '</h2><pre>';
90 print_r($data ?: 'FAILED');
91 echo '</pre>';
92 }
93 }
94}
exit
$client
$message
Definition: xapiexit.php:31

References $client, $data, $message, and exit.

Variable Documentation

◆ $client

◆ $ext_uid

$ext_uid = $_GET["ext_uid"] ?: "testuser"

Definition at line 26 of file dummy_client.php.

Referenced by isValidSession().

◆ $namespace

◆ $new_user

$new_user = $_GET["new_user"]

Definition at line 30 of file dummy_client.php.

Referenced by ilAuthProviderShibboleth\doAuthentication(), and isValidSession().

◆ $server

$server = $_GET["server"] ?: "http://localhost/Services/SOAPAuth/dummy_server.php"

Definition at line 24 of file dummy_client.php.

◆ $soap_pw

$soap_pw = $_GET["soap_pw"] ?: "testpw"

Definition at line 28 of file dummy_client.php.

Referenced by isValidSession().

◆ $valid

$valid
Initial value:
= $client->call(
'isValidSession',
[
'ns1:ext_uid' => $ext_uid,
'ns1:soap_pw' => $soap_pw,
'ns1:new_user' => $new_user
],
$namespace . "/isValidSession"
)
$soap_pw
$ext_uid
if($err=$client->getError()) $namespace
$new_user

Definition at line 59 of file dummy_client.php.

Referenced by ILIAS\Survey\Settings\SettingsFormGUI\checkForm(), ilDateDurationInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilTagInputGUI\checkInput(), ilConditionHandler\cloneDependencies(), ilPCSkillsGUI\create(), ilPCLearningHistoryGUI\create(), ilRegistrationSettingsGUI\createCodes(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilLPStatusCollectionMobs\getCollectionItems(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentRater(), ilContainerRenderer\getHTML(), ilObjExerciseSubItemListGUI\getHTML(), ilTrSummaryTableGUI\getItems(), ilPRGAssignmentDBRepository\getLongestValidAssignment(), ILIAS\User\Settings\StartingPoint\SettingsGUI\getStartingPointSelectionInput(), ilObjectLP\getSupportedObjectTypes(), ILIAS\User\Settings\StartingPoint\Repository\getSystemDefaultStartingPointType(), ilLOUtils\getTestResultLinkForUser(), ilBadge\getValid(), ilUserClipboard\getValidatedContent(), ilExerciseManagementGUI\handleIndividualDeadlineCallsObject(), ilAuthProviderSoap\handleSoapAuth(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ILIAS\EmployeeTalk\Metadata\EditForm\importFromPostAndValidate(), ilAdvancedMDRecordGUI\importSearchForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilADTExternalLink\isValid(), ilADTFloat\isValid(), ilADTGroup\isValid(), ilADTInteger\isValid(), ilADTInternalLink\isValid(), ilADTLocation\isValid(), ilADTMultiText\isValid(), ilADTText\isValid(), ilMailMailingListAddressType\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), ilMembershipNotifications\isValidMode(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilExAssignmentEditorGUI\processForm(), ilObjCmiXapiVerificationGUI\render(), ilObjLTIConsumerVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilBookingObjectGUI\save(), ilDclRecordEditGUI\save(), ilObjLinkResourceGUI\save(), ilObjPrivacySecurityGUI\save_privacy(), ilObjLinkResourceGUI\saveAddLink(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilCronDeleteNeverLoggedInUserAccounts\saveCustomSettings(), ilObjLinkResourceGUI\saveLinkList(), ilObjContentObjectGUI\saveProperties(), ilTable2GUI\setExportFormats(), ILIAS\Survey\Execution\RunSessionRepo\setExternalRaterValidation(), ilPageLayout\setModules(), ilProgressBar\setType(), ilAuthSOAP\testConnection(), NullTransformationTest\testNullTransformation(), ilPRGPermissionsHelper\throwForInvalidOperation(), ILIAS\Badge\Tile\tryFormating(), ilBookingObjectGUI\update(), ilPCSkillsGUI\update(), ilADTBasedObjectGUI\updateAction(), ilCronManagerGUI\updateLegacy(), ilObjLinkResourceGUI\updateLink(), ilExPeerReviewGUI\updatePeerReviewObject(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilObjPollGUI\validateCustom(), ilExPeerReview\validatePeerReviewGroups(), ilExSubmission\validatePeerReviews(), ilObjPollGUI\vote(), ILIAS\UI\Implementation\Component\Listing\Workflow\Step\withAvailability(), and ILIAS\UI\Implementation\Component\Listing\Workflow\Step\withStatus().

◆ exit

exit

Definition at line 21 of file dummy_client.php.

Referenced by ilObjSystemFolderGUI\_goto(), ilObjItemGroupGUI\_goto(), ilObjUserFolderGUI\_goto(), ilBTControllerGUI\abortBucket(), ilDclRecordEditGUI\accessDenied(), ilExAssignmentEditorGUI\addMailTemplatesRadio(), ilGroupAddToGroupActionGUI\addUser(), ilObjCategoryGUI\addUserAutoCompleteObject(), ilLocalUserGUI\addUserAutoCompleteObject(), ilObjUserFolderGUI\addUserAutoCompleteObject(), ilCmiXapiStatementsGUI\asyncUserAutocompleteCmd(), ilLTIConsumerXapiStatementsGUI\asyncUserAutocompleteCmd(), ilSearchBaseGUI\autoComplete(), ilSearchGUI\autoComplete(), ilTestPlayerAbstractGUI\autosaveCmd(), ILIAS\UI\examples\Prompt\Standard\base(), ILIAS\UI\examples\Prompt\State\Close\base(), ILIAS\UI\examples\Prompt\State\Redirect\base(), ILIAS\UI\examples\Prompt\State\Show\base(), ILIAS\UI\examples\Table\Action\Multi\base(), ILIAS\UI\examples\Table\Action\Single\base(), ILIAS\UI\examples\Table\Action\Standard\base(), ILIAS\UI\examples\Table\Data\base(), ilHTTPS\checkProtocolAndRedirectIfNeeded(), ilTestPlayerAbstractGUI\checkWorkingTimeCmd(), ILIAS\UI\examples\Item\Notification\closable(), ILIAS\FileDelivery\FileDeliveryTypes\PHPChunked\close(), ILIAS\HTTP\RawHTTPServices\close(), ilExplorerBaseGUI\closeNode(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilGroupAddToGroupActionGUI\confirmCreateGroupAndAddUser(), ilDidacticTemplateSettingsGUI\confirmDelete(), ilOrgUnitUserAssignmentGUI\confirmRemove(), ilObjLTIConsumerGUI\contentSelectionRequest(), ilObjLTIConsumerGUI\contentSelectionResponse(), ilGroupAddToGroupActionGUI\createGroup(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilErrorHandling\defaultHandler(), ilObjBlog\deliverRSS(), ilTestPlayerAbstractGUI\detectChangesCmd(), ilPageObjectGUI\displayMedia(), ilSurveyRaterGUI\doAutoComplete(), ilObjSurveyGUI\doAutoCompleteObject(), ILIAS\User\Profile\PublicProfileGUI\doProfileAutoComplete(), ilCalendarAppointmentGUI\doUserAutoComplete(), ilRepositorySearchGUI\doUserAutoComplete(), ilObjTestGUI\download_paragraphObject(), ilObjQuestionPoolGUI\download_paragraphObject(), ilSCORMPresentationGUI\downloadCertificate(), ilGlossaryPresentationGUI\downloadFile(), ilLMPageObjectGUI\downloadFile(), ilFileSystemGUI\downloadFile(), ilObjTestGUI\downloadFileObject(), ilObjQuestionPoolGUI\downloadFileObject(), ilObjMediaCastGUI\downloadItemObject(), ilSCORM13PlayerGUI\downloadLog(), ilExSubmissionFileGUI\downloadObject(), ilRoleAutoCompleteInputGUI\echoAutoCompleteList(), ilPCParagraphGUI\editJS(), ilErrorHandling\errorHandler(), ilCommonActionDispatcherGUI\executeCommand(), ilObjLanguageExtGUI\executeCommand(), ilObjLanguageFolderGUI\executeCommand(), ilTestPlayerAbstractGUI\executeCommand(), XapiProxy\XapiProxyResponse\exitBadRequest(), ILIAS\Test\Scoring\Marks\MarkSchemaGUI\exitOnMarkSchemaNotEditable(), XapiProxy\XapiProxyResponse\exitProxyError(), XapiProxy\XapiProxyResponse\exitResponseError(), ilSessionStatisticsGUI\exportCSV(), ilTable2GUI\exportData(), ilSurveyEvaluationGUI\exportEvaluationUser(), ilExerciseManagementGUI\exportExcelObject(), ilObjQuestionPoolGUI\exportQuestions(), ILIAS\UI\examples\MainControls\MetaBar\extended_example_for_developers(), XapiProxy\XapiProxyResponse\fakeResponseBlocked(), ilClassificationBlockGUI\filterContainer(), ILIAS\UI\examples\Prompt\Standard\form(), ilContainerGUI\forwardToPageObject(), ilSCORMPresentationGUI\frameset(), arBuilder\generateDBUpdateForInstallation(), ilClassificationBlockGUI\getAjax(), ilObjStudyProgrammeAutoMembershipsGUI\getAsynchModalOutput(), ilObjStudyProgrammeAutoCategoriesGUI\getAsyncModalOutput(), ilBTControllerGUI\getAsyncReplacementItem(), ilAwarenessGUI\getAwarenessList(), ILIAS\components\ILIAS\Glossary\Table\GlossaryAutoLinkTable\getComponent(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\getComponent(), ILIAS\Skill\Table\LevelResourcesTable\getComponent(), ILIAS\Skill\Table\ProfileTable\getComponent(), ILIAS\Skill\Table\ProfileUserAssignmentTable\getComponent(), ilObjLearningSequenceLPPollingGUI\getCurrentItemLearningProgress(), ilTaggingGUI\getHTML(), ilRegistrationSettingsGUI\getLocalRoleAutoComplete(), XapiProxy\XapiProxyPolyFill\getLrsType(), XapiProxy\XapiProxyPolyFill\getLrsTypePlugin(), ilCalendarBlockGUI\getModalForApp(), ilCalendarViewGUI\getModalForApp(), ilCalendarSubscriptionGUI\getModalForSubscription(), ilExplorerBaseGUI\getNodeAsync(), ilPollCommentsHandler\getNumberOfCommentsForRedraw(), ilDclRecordEditGUI\getRecordData(), HTTP\Services\CallbackDurationTest\getTestCallbackWithLength(), ilObjWikiGUI\getUserHTMLExportProgressObject(), ilObjItemGroupGUI\gotoParent(), ilObjMediaCastGUI\handleAutoplayTriggerObject(), ILIAS\Test\Questions\Presentation\QuestionsTableActions\handleCommand(), ilExerciseManagementGUI\handleIndividualDeadlineCallsObject(), ilObjMediaCastGUI\handlePlayerCompletedEventObject(), ilObjMediaCastGUI\handlePlayerEventObject(), ilCalendarRemoteAccessHandler\handleRequest(), ilObjTestGUI\importFile(), ilObjQuestionPoolGUI\importFile(), ilObjQuestionPoolGUI\importQuestionsFile(), ILIAS\UI\examples\Item\Notification\include_aggregates(), XapiProxy\XapiProxyPolyFill\initLrs(), ilWikiUserHTMLExport\initUserHTMLExport(), ilPCParagraph\insert(), ilWikiPageGUI\insertWikiLink(), ilWikiPageGUI\insertWikiLinkAC(), ilObjSCORMLearningModuleGUI\newModuleVersionUpload(), ilObjStudyProgrammeAutoMembershipsGUI\nextStep(), ilSCORM13PlayerGUI\openLog(), ilExplorerBaseGUI\openNode(), ilPCParagraphGUI\outputError(), ilMediaItem\outputMapWorkCopy(), ILIAS\UI\examples\Prompt\Standard\parameters(), ilDataCollectionGlobalTemplate\printToStdout(), ilSCORM13PlayerGUI\readSharedData(), ilCtrl\redirectToURL(), ilLMPresentationGUI\redrawHeaderAction(), assQuestionGUI\redrawHeaderAction(), ilWikiPageGUI\redrawHeaderAction(), ilObjectGUI\redrawHeaderActionObject(), ilContainerGUI\redrawListItemObject(), ilInternalLinkGUI\refreshRepositorySelector(), ilLMPresentationGUI\refreshToc(), ilContainerGUI\renderBlockAsynchObject(), ilNoteGUI\renderContent(), ilLikeGUI\renderEmoticons(), ilBiblFieldFilterGUI\renderInterruptiveModal(), ilLikeGUI\renderModal(), ilWebDAVMountInstructionsGUI\renderMountInstructionsContent(), ilDclRecordEditGUI\save(), ilLikeGUI\saveExpression(), ilPCParagraph\saveJS(), ilObjRecoveryFolderGUI\saveObject(), ilObjTypeDefinitionGUI\saveObject(), ilRatingGUI\saveRating(), ilHelpGUI\search(), ilDclRecordEditGUI\searchObjects(), ilWikiPageGUI\searchWikiLinkAC(), ilGroupAddToGroupActionGUI\selectGroup(), ilGroupAddToGroupActionGUI\selectParent(), send(), XapiProxy\XapiProxyResponse\sendData(), ilObjSCORMLearningModule\sendExportFile(), ilDclRecordEditGUI\sendFailure(), ilGroupAddToGroupActionGUI\sendResponse(), ilExAssignmentReminder\sentReminderPlaceholders(), ilCalendarBlockGUI\setPdModeEvents(), ilCalendarBlockGUI\setPdModeMonth(), ilCalendarBlockGUI\setSeed(), ILIAS\UI\examples\Modal\Interruptive\show_modal_on_button_click_async_rendered(), ILIAS\UI\examples\Modal\RoundTrip\show_multi_step_modal(), ILIAS\UI\examples\Popover\Standard\show_popover_with_async_loaded_content(), ILIAS\UI\Examples\Popover\Standard\show_popover_with_dynamic_changing_content(), ILIAS\Test\Logging\LogTable\showAdditionalDetails(), ilObjMediaCastGUI\showCommentsObject(), ILIAS\Test\Logging\LogTable\showConfirmTestUserInteractionsDeletion(), ilPageObjectGUI\showEditLockInfo(), ilLTIConsumerContentGUI\showEmbedded(), ILIAS\Test\Logging\LogTable\showErrorModal(), ilHelpGUI\showHelp(), ilLPObjectStatisticsGUI\showLearningProgressDetails(), ilInternalLinkGUI\showLinkHelp(), ilContainerGUI\showLinkListObject(), ilPageObjectGUI\showPage(), ilHelpGUI\showPage(), ilObjMediaPoolGUI\showPage(), ilObjSystemFolderGUI\showPHPInfoObject(), ilLMPresentationGUI\showPrintViewSelection(), showResult(), ILIAS\UI\examples\MainControls\Slate\Notification\standard(), ilSoapDummyAuthServer\start(), ilNusoapUserAdministrationAdapter\start(), ilWikiUserHTMLExport\startUserHTMLExport(), ilTreeExplorerGUI\toggleExplorerNodeState(), ilColumnGUI\updateBlock(), ilExPeerReviewGUI\updateCritAjaxObject(), ilNoteGUI\updateGlyph(), ilNoteGUI\updateNumber(), ilLMPresentationGUI\updatePageRating(), ilObjectCopyGUI\updateProgress(), ilNoteGUI\updateWidget(), and ilSCORMItemGUI\view().