ILIAS  release_7 Revision v7.30-3-g800a261c036
XapiProxy Namespace Reference

Data Structures

class  DataService
 
class  ilInitialisation
 Class: ilInitialisation_Public Helper class that derives from ilInitialisation in order to 'publish' some of its methods that are (currently) required by XapiProxy and included plugin classes. More...
 
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']
 handle XapiProxy Init More...
 
 $dic ['xapiproxy']
 
 try
 handle Lrs Init More...
 
 catch (\Exception $e)
 
 $req = new XapiProxyRequest()
 
 $resp = new XapiProxyResponse()
 

Variable Documentation

◆ $dic [1/2]

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

handle XapiProxy Init

Definition at line 63 of file xapiproxy.php.

◆ $dic [2/2]

XapiProxy\$dic[ 'xapiproxy']
Initial value:
= function ($c) use ($client, $token, $plugin) {
}
$c
Definition: cli.php:37
if($_SERVER['argc']< 4) $client
Definition: cron.php:12
$token
Definition: xapitoken.php:52

Definition at line 65 of file xapiproxy.php.

◆ $plugin

XapiProxy\$plugin = false

Definition at line 8 of file xapiproxy.php.

Referenced by LTI\ilGlobalTemplate\__construct(), ilDataCollectionGlobalTemplate\__construct(), ilCOPageGlobalTemplate\__construct(), ilRTEGlobalTemplate\__construct(), ilGlobalTemplate\__construct(), ilIndependentGlobalTemplate\__construct(), ilObjectCopySearchResultTableGUI\__construct(), XapiProxy\XapiProxy\__construct(), XapiProxy\XapiProxyPolyFill\__construct(), ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Services\UICore\MetaTemplate\PageContentGUI\__construct(), ilTemplate\__construct(), ilLPStatusPlugin\_getCompleted(), ilLPStatusPlugin\_getFailed(), ilLPStatusPlugin\_getInProgress(), ilLPStatusPlugin\_getNotAttempted(), ilComponentActivatePluginsObjective\achieve(), ilComponentInstallPluginObjective\achieve(), ilComponentPluginLanguageUpdatedObjective\achieve(), ilComponentUpdatePluginObjective\achieve(), ilPluginsOverviewTableGUI\addPluginData(), ilClaimingPermissionHelper\checkPlugins(), ilCustomUserFieldsGUI\create(), ilLPStatusPlugin\determinePercentage(), ilLPStatusPlugin\determineStatus(), ilPCPluggedGUI\executeCommand(), ilObjPluginDispatchGUI\forward(), ILIAS\GlobalScreen\Identification\Serializer\SerializerFactory\fromSerializedIdentification(), ilCustomUserFieldsHelper\getActivePlugins(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\getAddCommands(), ilPluginAdmin\getAllGlobalScreenProviders(), ilPageObjectGUI\getComponentPluginsXML(), ilCalendarViewGUI\getContentByPlugins(), ilCalendarAppointmentPresentationGUI\getContentByPlugins(), ilPCPlugged\getCssFiles(), ilCustomUserFieldsHelper\getFormPropertyForDefinition(), ilPCPlugged\getJavascriptFiles(), XapiProxy\XapiProxyPolyFill\getLrsTypeAndMoreByToken(), ilCalendarViewGUI\getModalTitleByPlugins(), ilCalendarAgendaListGUI\getPluginAgendaItem(), ilCustomUserFieldsHelper\getPluginForType(), ilPlugin\getPluginObject(), ilPluginSlot\getPluginsInformation(), ilPluginAdmin\getRawPluginDataFor(), ilObjectLP\getSupportedObjectTypes(), ilCustomUserFieldsHelper\getUDFTypes(), ilCustomUserFieldsGUI\initForm(), ilInitialisation\initUIFramework(), ilTextAreaInputGUI\insert(), ilComponentActivatePluginsObjective\isApplicable(), ilComponentInstallPluginObjective\isApplicable(), ilComponentPluginLanguageUpdatedObjective\isApplicable(), ilComponentUpdatePluginObjective\isApplicable(), ilObjQuestionPool\isPluginActive(), ilRendererFactory\loadAvailableRenderers(), ilUserDefinedData\lookupData(), ilPluginSlot\readPluginInformation(), ilObjLanguage\refreshPlugins(), ilRTE\removeAllPlugins(), ilWebDAVRequestHandler\setPlugins(), ilObjComponentSettingsGUI\showPlugin(), ilCustomUserFieldsGUI\update(), ilObjComponentSettingsGUI\update(), ilOrgUnitType\updateable(), ilStudyProgrammeType\updateable(), and ilCloudFileTree\uploadFileToService().

◆ $req

◆ $resp

◆ catch

XapiProxy\catch(\Exception $e) ( \Exception  $e)

Definition at line 74 of file xapiproxy.php.

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

◆ exit

XapiProxy\exit

Definition at line 34 of file xapiproxy.php.

◆ try

XapiProxy\try
Initial value:
{
$dic['xapiproxy']->initLrs()
$dic
Definition: result.php:13

handle Lrs Init

Definition at line 72 of file xapiproxy.php.