ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
XapiProxy Namespace Reference

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)
 

Variable Documentation

◆ $dic

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

Definition at line 79 of file xapiproxy.php.

◆ $plugin

XapiProxy\$plugin = false

Definition at line 27 of file xapiproxy.php.

Referenced by ilIndependentGlobalTemplate\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ILIAS\GlobalScreen\Provider\__construct(), XapiProxy\XapiProxy\__construct(), XapiProxy\XapiProxyPolyFill\__construct(), ilDataCollectionGlobalTemplate\__construct(), LTI\ilGlobalTemplate\__construct(), ilRTEGlobalTemplate\__construct(), ILIAS\components\UICore\MetaTemplate\PageContentGUI\__construct(), ilGlobalTemplate\__construct(), ilLPStatusPlugin\_getCompleted(), ilLPStatusPlugin\_getFailed(), ilRepositoryObjectPlugin\_getImagePath(), ilLPStatusPlugin\_getInProgress(), ilLPStatusPlugin\_getNotAttempted(), ilComponentActivatePluginsObjective\achieve(), ilComponentInstallPluginObjective\achieve(), ilComponentUpdatePluginObjective\achieve(), ilPluginLanguageUpdatedObjective\achieve(), ilRepositoryObjectPluginSlot\addCreatableSubObjects(), ilComponentBuildPluginInfoObjective\addPlugin(), ilTestParticipantsGUI\addPluginExportsToOptions(), ilInitialisation\applyPluginManipulationsToUiFramework(), ilComponentBuildPluginInfoObjective\build(), ilEventHandlingBuildEventInfoObjective\build(), ilLDAPRoleAssignmentRules\callPlugin(), ilShibbolethRoleAssignmentRules\callPlugin(), ilLPStatusPlugin\determinePercentage(), ilLPStatusPlugin\determineStatus(), ilPCPluggedGUI\edit(), ilPCPluggedGUI\executeCommand(), ilObjPluginDispatchGUI\forward(), ilObjComponentSettingsGUI\forwardConfigGUI(), ILIAS\GlobalScreen\Identification\Serializer\SerializerFactory\fromSerializedIdentification(), ilPluginSlotInfo\getActivePlugins(), ILIAS\COPage\Page\PageQueryActionHandler\getAddCommands(), ilLDAPRoleAssignmentRules\getAdditionalPluginAttributes(), ilObjTest\getAvailableQuestions(), ilPageObjectGUI\getComponentPluginsXML(), ilCalendarAppointmentPresentationGUI\getContentByPlugins(), ilCalendarViewGUI\getContentByPlugins(), ilPCPlugged\getCssFiles(), ILIAS\Test\ExportImport\Factory\getExporter(), ilObjectDefinition\getGroupedPluginObjectTypes(), ilPCPlugged\getJavascriptFiles(), ILIAS\Cron\Job\Repository\JobRepositoryImpl\getJobInstanceById(), ilCalendarViewGUI\getModalTitleByPlugins(), ilObjectPlugin\getPlugin(), ilComponentFactoryImplementation\getPlugin(), ilCalendarAgendaListGUI\getPluginAgendaItem(), ilArtifactComponentRepository\getPluginByName(), ilPluginSlotInfo\getPluginByName(), ilModulesTableGUI\getPluginComponents(), ILIAS\Cron\Job\Repository\JobRepositoryImpl\getPluginJobs(), ilArtifactComponentRepository\getPlugins(), ilPluginSlotInfo\getPlugins(), ilPluginLanguage\getPrefix(), ilDclPluginFieldModel\getPresentationDescription(), ilDclPluginFieldModel\getPresentationTitle(), ilSoapHook\getSoapMethods(), ilObjectLP\getSupportedObjectTypes(), ilSoapHook\getWsdlTypes(), ilPluginSlotInfo\hasPluginName(), ilGSProviderFactory\initPlugins(), ilTextAreaInputGUI\insert(), ilComponentActivatePluginsObjective\isApplicable(), ilComponentInstallPluginObjective\isApplicable(), ilComponentUpdatePluginObjective\isApplicable(), ilObjComponentSettingsGUI\listPlugins(), ilObjectDefinition\parsePluginData(), ilDataCollectionGlobalTemplate\printToStdout(), ilAppEventHandler\raise(), ilObjComponentSettingsGUI\refreshLanguages(), ilObjLanguage\refreshPlugins(), ilRTE\removeAllPlugins(), ilArtifactComponentRepository\setCurrentPluginVersion(), ilPluginsOverviewTable\setParameter(), ilComponentBuildPluginInfoObjectiveTest\setUp(), ilDataCollectionDBUpdateSteps9\step_16(), ilPluginsOverviewTableTest\testGetActionsPluginInstalled(), ilPluginsOverviewTableTest\testGetActionsPluginNotInstalled(), ilPluginInfoTest\testGetReasonForInactivityThrowsOnActivePlugin(), ilArtifactComponentRepositoryTest\testUsesPluginStateDB(), ilObjComponentSettingsGUI\update(), ilOrgUnitType\updateable(), and ilStudyProgrammeType\updateable().

◆ $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 51 of file xapiproxy.php.

◆ exit

XapiProxy\exit

Definition at line 57 of file xapiproxy.php.

◆ try

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

handle Lrs Init

Definition at line 86 of file xapiproxy.php.