ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
dummy_client.php File Reference

Go to the source code of this file.

Functions

 showResult (&$client, $data, $message)
 

Variables

 exit
 
 $server
 
 $ext_uid
 
 $soap_pw
 
 $new_user = $_GET["new_user"]
 
 $client = new soap_client($server)
 
if($err=$client->getError()) $namespace = "http://testuri.org"
 
 $valid
 

Function Documentation

◆ showResult()

showResult ( $client,
  $data,
  $message 
)

Definition at line 63 of file dummy_client.php.

References $client, $data, and exit.

64 {
65  if($client->fault) {
66  echo '<h2>Fault</h2><pre>';
67  print_r($data);
68  echo '</pre>';
69  }
70  else
71  {
72  // Check for errors
73  $err = $client->getError();
74  if ($err) {
75  // Display the error
76  echo '<h2>Error</h2><pre>' . $err . '</pre>';
77  exit;
78  } else {
79  // Display the result
80  echo '<h2>Result '.$message.'</h2><pre>';
81  print_r($data ? $data : 'FAILED');
82  echo '</pre>';
83  }
84  }
85 }
$client
exit
Definition: dummy_client.php:3

Variable Documentation

◆ $client

◆ $ext_uid

$ext_uid
Initial value:
= $_GET["ext_uid"]
? $_GET["ext_uid"]
: "testuser"
$_GET["client_id"]

Definition at line 16 of file dummy_client.php.

Referenced by isValidSession().

◆ $namespace

◆ $new_user

$new_user = $_GET["new_user"]

Definition at line 24 of file dummy_client.php.

Referenced by ilAuthContainerSOAP\fetchData(), and isValidSession().

◆ $server

$server
Initial value:
= $_GET["server"]
? $_GET["server"]
: "http://www.ilias.de/lt4el/Services/SOAPAuth/dummy_server.php"
$_GET["client_id"]

Definition at line 12 of file dummy_client.php.

Referenced by ilMemcacheServerTableGUI\__construct(), ilLDAPServer\_getAllServer(), ilAuthUtils\_getMultipleAuthModeOptions(), ilECSObjectSettings\_handleDelete(), ilObjAuthSettingsGUI\authSettingsObject(), ilECSSettingsGUI\communities(), ilAuthProviderRadius\doAuthentication(), ilAuthProviderECS\doAuthentication(), ilObjExternalToolsSettingsGUI\editMathJaxObject(), ilObjAuthSettingsGUI\editSOAPObject(), ilECSSettingsGUI\exportMappings(), ilAuthContainerECS\fetchData(), ilMemcache\getActive(), ilECSMappingUtils\getAuthModeSelection(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), ilRemoteObjectBase\getFullRemoteLink(), ilLDAPServer\getServerIds(), ilECSObjectSettings\handleContentUpdate(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthContainerCAS\handleLDAPDataSource(), ilAuthContainerRadius\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthContainerApache\handleLDAPDataSource(), ilECSObjectSettings\handleSettingsUpdate(), ilECSSettingsGUI\importMappings(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilECSSettingsGUI\initMappingsForm(), ilLDAPRoleAssignmentRule\isGroupMember(), ilLDAPRoleGroupMapping\isMember(), ilECSServerTableGUI\parse(), ilAuthModeDetermination\read(), ilECSSettingsGUI\readAll(), ilLDAPRoleGroupMapping\readDN(), ilECSSettingsGUI\refreshParticipants(), ilRadiusSettings\save(), ilAuthProviderECS\setCurrentServer(), ilAuthContainerECS\setCurrentServer(), ilPlainTextHandler\shortenPHPSessionId(), ilLoggingErrorFileStorage\shortenPHPSessionId(), ilECSTaskScheduler\start(), ilECSTaskScheduler\startExecution(), ilPlainTextHandler\tables(), ilLoggingErrorFileStorage\tables(), Monolog\Processor\WebProcessorTest\testProcessor(), Monolog\Processor\WebProcessorTest\testProcessorAddsOnlyRequestedExtraFields(), Monolog\Processor\WebProcessorTest\testProcessorConfiguringOfExtraFields(), Monolog\Processor\WebProcessorTest\testProcessorDoesNotAddUniqueIdIfNotPresent(), Monolog\Processor\WebProcessorTest\testProcessorDoNothingIfNoRequestUri(), Monolog\Processor\WebProcessorTest\testProcessorReturnNullIfNoHttpReferer(), ilRadiusSettings\toPearAuthArray(), ilECSSettingsGUI\updateCommunities(), ilECSSettingsGUI\validateImportTypes(), and ilRadiusSettings\validateServers().

◆ $soap_pw

$soap_pw
Initial value:
= $_GET["soap_pw"]
? $_GET["soap_pw"]
: "testpw"
$_GET["client_id"]

Definition at line 20 of file dummy_client.php.

Referenced by isValidSession().

◆ $valid

$valid
Initial value:
= $client->call('isValidSession',
array('ns1:ext_uid' => $ext_uid,
'ns1:soap_pw' => $soap_pw,
'ns1:new_user' => $new_user), $namespace,
$namespace."/isValidSession")
if($err=$client->getError()) $namespace
$ext_uid
$client
$soap_pw
Create styles array
The data for the language used.
$new_user

Definition at line 53 of file dummy_client.php.

Referenced by SurveyQuestionGUI\addSelectedPhrase(), ilObjFileBasedLMGUI\afterSave(), arEditGUI\afterValidation(), PHPExcel_Reader_Excel2003XML\canRead(), ilSelectInputGUI\checkInput(), ilTagInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilLPStatus\checkLPModesForObjects(), ilClaimingPermissionHelper\checkPlugins(), ilDclNumberFieldModel\checkValidity(), ilConditionHandler\cloneDependencies(), ilObjPortfolioBase\clonePagesAndSettings(), SurveyQuestionGUI\confirmSavePhrase(), ilPCSkillsGUI\create(), ilAccountCodesGUI\createCodes(), ilRegistrationSettingsGUI\createCodes(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilSurveyEvaluationGUI\determineAppraiseeId(), ilLoggingActivity\determineValidityOfLogLevel(), ilSetupGUI\displaySessions(), ilExPeerReviewGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilAuthContainerSOAP\fetchData(), ilExPeerReview\getAllPeerReviews(), ilLPStatusCollectionMobs\getCollectionItems(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilAccountCodesTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilUserUtil\getPersonalStartingPoint(), ilUserUtil\getStartingPoint(), ilTrQuery\getSummaryDataForObject(), ilTestSkillLevelThresholdsGUI\getTestId(), ilLOUtils\getTestResultLinkForUser(), ilUserClipboard\getValidatedContent(), ilLinkResourceItems\getValidStatus(), ilExerciseManagementGUI\handleIndividualDeadlineCallsObject(), ilWebLinkXmlParser\handlerBeginTag(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ilAdvancedMDRecordGUI\importSearchForm(), ilAccountCodesGUI\initAddCodesForm(), ilBadgeManagementGUI\initBadgeForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilMailMailingListAddressType\isValid(), ilADTInteger\isValid(), ilADTText\isValid(), ilADTMultiText\isValid(), ilADTDate\isValid(), ilADTDateTime\isValid(), ilADTLocation\isValid(), ilADTGroup\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), TCPDF_STATIC\isValidCSSSelectorForTag(), ilUDFClaimingPlugin\isValidFieldType(), ilMembershipNotifications\isValidMode(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listQuickEdit_scorm(), Mail_RFC822\parseAddressList(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilBookingObjectGUI\save(), ilDclRecordEditGUI\save(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilObjSurveyGUI\savePropertiesObject(), ilTable2GUI\setExportFormats(), ilLoggingActivity\setLogLevel(), ilPageLayout\setModules(), ilUserUtil\setPersonalStartingPoint(), ilUserUtil\setStartingPoint(), ilProgressBar\setType(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilStartUpGUI\showUserMappingSelection(), Monolog\Handler\RotatingFileHandlerTest\testAllowOnlyFixedDefinedDateFormats(), Monolog\Handler\RotatingFileHandlerTest\testDisallowFilenameFormatsWithoutDate(), ilCronManagerGUI\update(), ilPCSkillsGUI\update(), ilBookingObjectGUI\update(), ilADTBasedObjectGUI\updateAction(), ilExPeerReviewGUI\updatePeerReviewObject(), HTMLPurifier_AttrDef_URI_Host\validate(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilCustomUserFieldsGUI\validateForm(), ilExPeerReview\validatePeerReviewGroups(), ilExSubmission\validatePeerReviews(), and ilObjPollGUI\vote().

◆ exit

exit

Definition at line 3 of file dummy_client.php.

Referenced by showResult().