ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
XapiProxy Namespace Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

Data Structures

class  DataService
 
class  ilInitialisation
 
class  XapiProxy
 
class  XapiProxyPolyFill
 
class  XapiProxyRequest
 
class  XapiProxyResponse
 

Variables

 $plugin = false
 
if(strtoupper($_SERVER["REQUEST_METHOD"])=="OPTIONS") if(!empty($_SERVER['PHP_AUTH_USER']) &&!empty($_SERVER['PHP_AUTH_PW'])) elseif(!empty($_SERVER['HTTP_AUTHORIZATION'])) else
 handle preflight More...
 
 exit
 
 $dic = $GLOBALS['DIC']
 
 $xapiproxy = new XapiProxy($client, $token, $plugin)
 
 try
 handle Lrs Init More...
 
catch(\Exception $e) $req = new XapiProxyRequest($xapiproxy)
 
 $resp = new XapiProxyResponse($xapiproxy)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Variable Documentation

◆ $dic

XapiProxy\$dic = $GLOBALS['DIC']

Definition at line 81 of file xapiproxy.php.

◆ $plugin

XapiProxy\$plugin = false

Definition at line 28 of file xapiproxy.php.

Referenced by XapiProxy\XapiProxy\__construct(), LTI\ilGlobalTemplate\__construct(), ilIndependentGlobalTemplate\__construct(), ilTestExportGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ILIAS\GlobalScreen\Provider\__construct(), ilRTEGlobalTemplate\__construct(), ilDataCollectionGlobalTemplate\__construct(), XapiProxy\XapiProxyPolyFill\__construct(), ILIAS\Services\UICore\MetaTemplate\PageContentGUI\__construct(), ilGlobalTemplate\__construct(), ilLPStatusPlugin\_getCompleted(), ilLPStatusPlugin\_getFailed(), ilRepositoryObjectPlugin\_getImagePath(), ilLPStatusPlugin\_getInProgress(), ilLPStatusPlugin\_getNotAttempted(), ilPluginLanguageUpdatedObjective\achieve(), ilComponentActivatePluginsObjective\achieve(), ilComponentInstallPluginObjective\achieve(), ilComponentUpdatePluginObjective\achieve(), ilRepositoryObjectPluginSlot\addCreatableSubObjects(), ilComponentBuildPluginInfoObjective\addPlugin(), ilComponentBuildPluginInfoObjective\build(), ilDclPluginFieldRepresentation\buildFieldCreationInput(), ilShibbolethRoleAssignmentRules\callPlugin(), ilLDAPRoleAssignmentRules\callPlugin(), ilClaimingPermissionHelper\checkPlugins(), ilCustomUserFieldsGUI\create(), ilLPStatusPlugin\determinePercentage(), ilLPStatusPlugin\determineStatus(), ilPCPluggedGUI\edit(), ilPCPluggedGUI\executeCommand(), ilObjPluginDispatchGUI\forward(), ilObjComponentSettingsGUI\forwardConfigGUI(), ILIAS\GlobalScreen\Identification\Serializer\SerializerFactory\fromSerializedIdentification(), ilPluginSlotInfo\getActivePlugins(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\getAddCommands(), ilLDAPRoleAssignmentRules\getAdditionalPluginAttributes(), ilObjRepositorySettings\getAllObjTypes(), ilOrgUnitType\getAllTypes(), ilContainerGUI\getAsynchItemListObject(), ilOrgUnitType\getAvailableAdvancedMDRecords(), ilObjTest\getAvailableQuestions(), ilPageObjectGUI\getComponentPluginsXML(), ilCalendarAppointmentPresentationGUI\getContentByPlugins(), ilCalendarViewGUI\getContentByPlugins(), ilPCPlugged\getCssFiles(), ilCustomUserFieldsHelper\getFormPropertyForDefinition(), ilObjectDefinition\getGroupedPluginObjectTypes(), ilOrgUnitType\getIconPath(), ilPCPlugged\getJavascriptFiles(), ilCronJobRepositoryImpl\getJobInstanceById(), ilCalendarViewGUI\getModalTitleByPlugins(), ilComponentFactoryImplementation\getPlugin(), ilCalendarAgendaListGUI\getPluginAgendaItem(), ilPluginSlotInfo\getPluginByName(), ilArtifactComponentRepository\getPluginByName(), ilModulesTableGUI\getPluginComponents(), ilCustomUserFieldsHelper\getPluginForType(), ilCronJobRepositoryImpl\getPluginJobs(), ilPluginSlotInfo\getPlugins(), ilArtifactComponentRepository\getPlugins(), ilPluginLanguage\getPrefix(), ilDclPluginFieldModel\getPresentationDescription(), ilDclPluginFieldModel\getPresentationTitle(), ilSoapHook\getSoapMethods(), ilObjectLP\getSupportedObjectTypes(), ilOrgUnitType\getTranslation(), ilCustomUserFieldsHelper\getUDFTypes(), ilSoapHook\getWsdlTypes(), ilPluginSlotInfo\hasPluginName(), ilCustomUserFieldsGUI\initForm(), ilGSProviderFactory\initPlugins(), ilInitialisation\initUIFramework(), ilTextAreaInputGUI\insert(), ilComponentActivatePluginsObjective\isApplicable(), ilComponentUpdatePluginObjective\isApplicable(), ilComponentInstallPluginObjective\isApplicable(), ilRepositoryObjectPluginSlot\isTypePlugin(), ilRepositoryObjectPluginSlot\isTypePluginWithLP(), ilObjComponentSettingsGUI\listPlugins(), ilUserDefinedData\lookupData(), ilObjectDefinition\parsePluginData(), ilDataCollectionGlobalTemplate\printToStdout(), ilAppEventHandler\raise(), ilObjComponentSettingsGUI\refreshLanguages(), ilObjLanguage\refreshPlugins(), ilRTE\removeAllPlugins(), ilTabsGUI\removeNonTabbedLinks(), ilOrgUnitType\save(), ilArtifactComponentRepository\setCurrentPluginVersion(), ilStudyProgrammeType\setTranslations(), ilComponentBuildPluginInfoObjectiveTest\setUp(), ilDataCollectionDBUpdateSteps\step_12(), ilPluginsOverviewTableTest\testGetActionsPluginInstalled(), ilPluginsOverviewTableTest\testGetActionsPluginNotInstalled(), ilArtifactComponentRepositoryTest\testUsesPluginStateDB(), ilCustomUserFieldsGUI\update(), ilStudyProgrammeType\updateable(), ilOrgUnitType\updateable(), ilStudyProgrammeType\updateAssignedStudyProgrammesIcons(), and ilStudyProgrammeTypeDBRepository\updateRowTypeTranslationDB().

◆ $req

◆ $resp

◆ $xapiproxy

XapiProxy\$xapiproxy = new XapiProxy($client, $token, $plugin)

◆ else

if ( $plugin) XapiProxy\else
Initial value:
{
header('HTTP/1.1 401 Authorization Required')

handle preflight

handle path context

handle basic auth

required for Plugin in ILIAS 5.x

Definition at line 52 of file xapiproxy.php.

◆ exit

XapiProxy\exit

Definition at line 58 of file xapiproxy.php.

◆ try

XapiProxy\try
Initial value:
{
$xapiproxy->initLrs()

handle Lrs Init

Definition at line 88 of file xapiproxy.php.