ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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.

References exit, and nusoap_base\getError().

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 }
getError()
returns error string if present
Definition: nusoap.php:339
exit
$message
Definition: xapiexit.php:31
+ Here is the call graph for this function:

Variable Documentation

◆ $client

◆ $ext_uid

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

Definition at line 26 of file dummy_client.php.

Referenced by ilObjAuthSettingsGUI\buildSOAPTestForm(), and isValidSession().

◆ $namespace

◆ $new_user

$new_user = $_GET["new_user"]

◆ $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 ilObjAuthSettingsGUI\buildSOAPTestForm().

◆ $valid

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

Definition at line 59 of file dummy_client.php.

Referenced by ILIAS\Survey\Settings\SettingsFormGUI\checkForm(), ilSelectInputGUI\checkInput(), ilTagInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilLPStatus\checkLPModesForObjects(), ilClaimingPermissionHelper\checkPlugins(), ilConditionHandler\cloneDependencies(), ilObjPortfolioBase\clonePagesAndSettings(), ilPCSkillsGUI\create(), ilPCLearningHistoryGUI\create(), ilRegistrationSettingsGUI\createCodes(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilExPeerReview\getAllPeerReviews(), ilLPStatusCollectionMobs\getCollectionItems(), ilECSUserConsentModalGUI\getConsentModalComponents(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentRater(), ilUserStartingPointRepository\getCurrentUserPersonalStartingPoint(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilTrSummaryTableGUI\getItems(), ilPRGAssignmentDBRepository\getLongestValidAssignment(), ilUserStartingPointGUI\getStartingPointSelectionInput(), ilTrQuery\getSummaryDataForObject(), ilObjectLP\getSupportedObjectTypes(), ilUserStartingPointRepository\getSystemDefaultStartingPointType(), ilTestSkillLevelThresholdsGUI\getTestId(), ilLOUtils\getTestResultLinkForUser(), ilUserClipboard\getValidatedContent(), ilExerciseManagementGUI\handleIndividualDeadlineCallsObject(), ilAuthProviderSoap\handleSoapAuth(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ILIAS\EmployeeTalk\Metadata\EditForm\importFromPostAndValidate(), ilAdvancedMDRecordGUI\importSearchForm(), ilBadgeManagementGUI\initBadgeForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilMailMailingListAddressType\isValid(), ilADTFloat\isValid(), ilADTInteger\isValid(), ilADTText\isValid(), ilADTMultiText\isValid(), ilADTInternalLink\isValid(), ilADTLocation\isValid(), ilADTGroup\isValid(), ilADTExternalLink\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), ilUDFClaimingPlugin\isValidFieldType(), ilMembershipNotifications\isValidMode(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), Mail_RFC822\parseAddressList(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjCmiXapiVerificationGUI\render(), ilObjLTIConsumerVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilContainerRenderer\renderItemBlockSequence(), ilObjLinkResourceGUI\save(), ilBookingObjectGUI\save(), ilDclRecordEditGUI\save(), ilObjPrivacySecurityGUI\save_privacy(), ilObjLinkResourceGUI\saveAddLink(), ilCronDeleteNeverLoggedInUserAccounts\saveCustomSettings(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjLinkResourceGUI\saveLinkList(), ilObjContentObjectGUI\saveProperties(), ilUserStartingPointRepository\setCurrentUserPersonalStartingPoint(), ilTable2GUI\setExportFormats(), ilPageLayout\setModules(), ilProgressBar\setType(), ilAuthSOAP\testConnection(), ilPRGPermissionsHelper\throwForInvalidOperation(), ILIAS\Badge\Tile\tryFormating(), ilPCSkillsGUI\update(), ilBookingObjectGUI\update(), ilADTBasedObjectGUI\updateAction(), ilCustomUserFieldsGUI\updateFields(), ilCronManagerGUI\updateLegacy(), ilObjLinkResourceGUI\updateLink(), ilExPeerReview\updatePeerReview(), ilExPeerReviewGUI\updatePeerReviewObject(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilObjPollGUI\validateCustom(), ilCustomUserFieldsGUI\validateForm(), 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 ilObjUserGUI\__sendProfileMail(), ilObjItemGroupGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjUserFolderGUI\_goto(), ilBTControllerGUI\abortBucket(), ilDclRecordEditGUI\accessDenied(), ilExAssignmentEditorGUI\addMailTemplatesRadio(), ilGroupAddToGroupActionGUI\addUser(), ilLocalUserGUI\addUserAutoCompleteObject(), ilObjUserFolderGUI\addUserAutoCompleteObject(), ilObjCategoryGUI\addUserAutoCompleteObject(), ilCmiXapiStatementsGUI\asyncUserAutocompleteCmd(), ilLTIConsumerXapiStatementsGUI\asyncUserAutocompleteCmd(), ilLTIConsumerGradeSynchronizationGUI\asyncUserAutocompleteCmd(), ilSearchGUI\autoComplete(), ilSearchBaseGUI\autoComplete(), ilTestPlayerAbstractGUI\autosaveCmd(), ILIAS\UI\examples\Prompt\State\Show\base(), ILIAS\UI\examples\Table\Action\Multi\base(), ILIAS\UI\examples\Table\Action\Single\base(), ILIAS\UI\examples\Prompt\State\Redirect\base(), ILIAS\UI\examples\Prompt\State\Close\base(), ILIAS\UI\examples\Table\Action\Standard\base(), ILIAS\UI\examples\Table\Data\base(), ILIAS\UI\examples\Prompt\Standard\base(), ilDclRecordEditGUI\cancelSave(), ilInternalLinkGUI\changeTargetObject(), ilHTTPS\checkProtocolAndRedirectIfNeeded(), ilTestPlayerAbstractGUI\checkWorkingTimeCmd(), ILIAS\UI\examples\Item\Notification\closable(), ILIAS\HTTP\RawHTTPServices\close(), ILIAS\FileDelivery\FileDeliveryTypes\PHPChunked\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(), ilAccountRegistrationGUI\doProfileAutoComplete(), ilPublicUserProfileGUI\doProfileAutoComplete(), ilRepositorySearchGUI\doUserAutoComplete(), ilCalendarAppointmentGUI\doUserAutoComplete(), ilObjQuestionPoolGUI\download_paragraphObject(), ilObjTestGUI\download_paragraphObject(), ilSCORMPresentationGUI\downloadCertificate(), arConverter\downloadClassFile(), ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager\downloadFile(), ilLMPageObjectGUI\downloadFile(), ilGlossaryPresentationGUI\downloadFile(), ilFileSystemGUI\downloadFile(), ilObjQuestionPoolGUI\downloadFileObject(), ilObjTestGUI\downloadFileObject(), ilObjMediaCastGUI\downloadItemObject(), ilSCORM13PlayerGUI\downloadLog(), ilExSubmissionFileGUI\downloadObject(), ilRoleAutoCompleteInputGUI\echoAutoCompleteList(), ilPCParagraphGUI\editJS(), ilErrorHandling\errorHandler(), ilTestPlayerAbstractGUI\executeCommand(), ilObjLanguageExtGUI\executeCommand(), ilCommonActionDispatcherGUI\executeCommand(), ilObjLanguageFolderGUI\executeCommand(), XapiProxy\XapiProxyResponse\exitBadRequest(), ILIAS\Test\Scoring\Marks\MarkSchemaGUI\exitOnMarkSchemaNotEditable(), XapiProxy\XapiProxyResponse\exitProxyError(), XapiProxy\XapiProxyResponse\exitResponseError(), ilSessionStatisticsGUI\exportCSV(), ilSurveyEvaluationGUI\exportCumulatedResults(), 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\Bibliographic\Field\Table\ProfileTable\getComponent(), ILIAS\Bibliographic\Field\Table\ProfileUserAssignmentTable\getComponent(), ILIAS\Bibliographic\Field\Table\LevelResourcesTable\getComponent(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\getComponent(), ilObjLearningSequenceLPPollingGUI\getCurrentItemLearningProgress(), ilCmiXapiDataSet\getDependencies(), ilScormAiccDataSet\getExtendedXmlRepresentation(), ilTaggingGUI\getHTML(), ilRegistrationSettingsGUI\getLocalRoleAutoComplete(), XapiProxy\XapiProxyPolyFill\getLrsType(), XapiProxy\XapiProxyPolyFill\getLrsTypePlugin(), ilCalendarViewGUI\getModalForApp(), ilCalendarBlockGUI\getModalForApp(), ilCalendarSubscriptionGUI\getModalForSubscription(), ilExplorerBaseGUI\getNodeAsync(), ilPollCommentsHandler\getNumberOfCommentsForRedraw(), ilDclRecordEditGUI\getRecordData(), HTTP\Services\CallbackDurationTest\getTestCallbackWithLength(), ILIAS\UI\examples\Layout\Page\Standard\getUIContent(), ilObjWikiGUI\getUserHTMLExportProgressObject(), ilWikiStat\getWikiAggrSub(), ilObjItemGroupGUI\gotoParent(), ilObjMediaCastGUI\handleAutoplayTriggerObject(), ILIAS\Test\Questions\Presentation\QuestionsTableActions\handleCommand(), ilValidator\handleErr(), 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(), ILIAS\Data\Text\HTML\ExportOptionBase\onDownloadWithLink(), ilSCORM13PlayerGUI\openLog(), ilExplorerBaseGUI\openNode(), ilPCParagraphGUI\outputError(), ilMediaItem\outputMapWorkCopy(), ILIAS\UI\examples\Prompt\Standard\parameters(), ilDataCollectionGlobalTemplate\printToStdout(), ilSCORM13PlayerGUI\readSharedData(), ilSharedResourceGUI\redirectToResource(), ilCtrl\redirectToURL(), assQuestionGUI\redrawHeaderAction(), ilWikiPageGUI\redrawHeaderAction(), ilLMPresentationGUI\redrawHeaderAction(), ilObjectGUI\redrawHeaderActionObject(), ilContainerGUI\redrawListItemObject(), ilInternalLinkGUI\refreshRepositorySelector(), ilLMPresentationGUI\refreshToc(), ilContainerGUI\renderBlockAsynchObject(), ilNoteGUI\renderContent(), ilLikeGUI\renderEmoticons(), ILIAS\UI\examples\Layout\Page\Standard\renderFullDemoPage(), ilImprintGUI\renderFullscreen(), ilBiblFieldFilterGUI\renderInterruptiveModal(), ilLikeGUI\renderModal(), ilWebDAVMountInstructionsGUI\renderMountInstructionsContent(), ilExSubmissionObjectGUI\renderWorkspaceExplorer(), ilDclRecordEditGUI\save(), ilObjLTIConsumerGUI\saveContentSelection(), 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(), ilHelpGUI\showPage(), ilObjMediaPoolGUI\showPage(), ilPageObjectGUI\showPage(), ilObjSystemFolderGUI\showPHPInfoObject(), ilLMPresentationGUI\showPrintViewSelection(), showResult(), ILIAS\UI\examples\MainControls\Slate\Notification\standard(), ilNusoapUserAdministrationAdapter\start(), ilSoapDummyAuthServer\start(), ilWikiUserHTMLExport\startUserHTMLExport(), ilTreeExplorerGUI\toggleExplorerNodeState(), ilColumnGUI\updateBlock(), ilExPeerReviewGUI\updateCritAjaxObject(), ilNoteGUI\updateGlyph(), ilNoteGUI\updateNumber(), ilLMPresentationGUI\updatePageRating(), ilObjectCopyGUI\updateProgress(), ilNoteGUI\updateWidget(), ilSCORMItemGUI\view(), and ilSCORM13PlayerGUI\writeSharedData().