ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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 71 of file xapiproxy.php.

◆ $dic [2/2]

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

Definition at line 73 of file xapiproxy.php.

◆ $plugin

XapiProxy\$plugin = false

Definition at line 8 of file xapiproxy.php.

Referenced by XapiProxy\XapiProxy\__construct(), LTI\ilGlobalTemplate\__construct(), ilIndependentGlobalTemplate\__construct(), ILIAS\MainMenu\Storage\Services\UICore\MetaTemplate\PageContentGUI\__construct(), ILIAS\GlobalScreen\Provider\__construct(), ilRTEGlobalTemplate\__construct(), ilCOPageGlobalTemplate\__construct(), ilGlobalTemplate\__construct(), ilDataCollectionGlobalTemplate\__construct(), XapiProxy\XapiProxyPolyFill\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilTemplate\__construct(), ilLPStatusPlugin\_getCompleted(), ilLPStatusPlugin\_getFailed(), ilLPStatusPlugin\_getInProgress(), ilLPStatusPlugin\_getNotAttempted(), ilPluginsOverviewTableGUI\addPluginData(), ilClaimingPermissionHelper\checkPlugins(), ilCustomUserFieldsGUI\create(), ilLPStatusPlugin\determinePercentage(), ilLPStatusPlugin\determineStatus(), ilPCPluggedGUI\executeCommand(), ilObjPluginDispatchGUI\forward(), ILIAS\GlobalScreen\Identification\Serializer\SerializerFactory\fromSerializedIdentification(), ilCustomUserFieldsHelper\getActivePlugins(), ilPluginAdmin\getAllGlobalScreenProviders(), ilOrgUnitType\getAllTypes(), ilOrgUnitType\getAvailableAdvancedMDRecords(), ilPageObjectGUI\getComponentPluginsXML(), ilCalendarAppointmentPresentationGUI\getContentByPlugins(), ilCalendarViewGUI\getContentByPlugins(), ilPCPlugged\getCssFiles(), ilCustomUserFieldsHelper\getFormPropertyForDefinition(), ilOrgUnitType\getIconPath(), ilPCPlugged\getJavascriptFiles(), XapiProxy\XapiProxyPolyFill\getLrsTypeAndMoreByToken(), ilCalendarViewGUI\getModalTitleByPlugins(), ilCalendarAgendaListGUI\getPluginAgendaItem(), ilCustomUserFieldsHelper\getPluginForType(), ilPlugin\getPluginObject(), ilPluginSlot\getPluginsInformation(), ilStudyProgrammeType\getRepository(), ilOrgUnitType\getTranslation(), ilCustomUserFieldsHelper\getUDFTypes(), ilCustomUserFieldsGUI\initForm(), ilAppEventHandler\initListeners(), ilInitialisation\initUIFramework(), ilTextAreaInputGUI\insert(), ilObjQuestionPool\isPluginActive(), ilRendererFactory\loadAvailableRenderers(), ilUserDefinedData\lookupData(), ilObjLanguage\refreshPlugins(), ilRTE\removeAllPlugins(), ilOrgUnitType\save(), ilWebDAVRequestHandler\setPlugins(), ilStudyProgrammeType\setTranslations(), ilObjComponentSettingsGUI\showPlugin(), ilCustomUserFieldsGUI\update(), ilStudyProgrammeType\updateable(), ilOrgUnitType\updateable(), ilStudyProgrammeType\updateAssignedStudyProgrammesIcons(), ilStudyProgrammeTypeDBRepository\updateRowTypeTranslationDB(), and ilCloudFileTree\uploadFileToService().

◆ $req

◆ $resp

◆ catch

XapiProxy\catch(\Exception $e)

Definition at line 83 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 39 of file xapiproxy.php.

◆ exit

XapiProxy\exit

Definition at line 41 of file xapiproxy.php.

◆ try

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

handle Lrs Init

Definition at line 80 of file xapiproxy.php.