TYPO3  7.6
Static Public Member Functions | Static Private Member Functions | List of all members
EidUtility Class Reference

Static Public Member Functions

static initLanguage ($language= 'default')
 
static initTCA ()
 
static initExtensionTCA ($extensionKey)
 

Static Private Member Functions

static getTSFE ()
 

Detailed Description

Tools for scripts using the eID feature of index.php Included from index_ts.php Since scripts using the eID feature does not have a full FE environment initialized by default this class seeks to provide functions that can initialize parts of the FE environment as needed, eg. Frontend User session, Database connection etc.

Definition at line 33 of file EidUtility.php.

Member Function Documentation

static getTSFE ( )
staticprivate

Creating a single static cached instance of TSFE to use with this class.

Returns
New instance of

Definition at line 108 of file EidUtility.php.

References $GLOBALS, and GeneralUtility\makeInstance().

static initExtensionTCA (   $extensionKey)
static

Makes TCA for the extension available inside eID. Use this function if you need not to include the whole $GLOBALS['TCA'].

Parameters
string$extensionKeyExtension key
Returns
void

Definition at line 90 of file EidUtility.php.

References $GLOBALS, and ExtensionManagementUtility\extPath().

static initLanguage (   $language = 'default')
static

Initializes $GLOBALS['LANG'] for use in eID scripts.

Parameters
string$languageTYPO3 language code
Returns
void

Definition at line 59 of file EidUtility.php.

References $GLOBALS, and GeneralUtility\makeInstance().

Referenced by ExtDirectEidController\routeAction().

static initTCA ( )
static

Makes TCA available inside eID

Returns
void

Definition at line 72 of file EidUtility.php.

References $GLOBALS, and Bootstrap\getInstance().