TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\T3editor\TypoScriptReferenceLoader Class Reference
Inheritance diagram for TYPO3\CMS\T3editor\TypoScriptReferenceLoader:
tx_t3editor_TSrefLoader

Public Member Functions

 __construct ()
 
 processAjaxRequest ($params, \TYPO3\CMS\Core\Http\AjaxRequestHandler &$ajaxObj)
 

Protected Member Functions

 loadFile ($filepath)
 
 getTypes ()
 
 getDescription ($typeId, $parameterName='')
 
 getType ($typeId)
 

Protected Attributes

 $xmlDoc
 
 $ajaxObj
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Loads TSref information from a XML file an responds to an AJAX call.

Author
Stephan Petzl spetz.nosp@m.l@gm.nosp@m.x.at
Christian Kartnig offic.nosp@m.e@ha.nosp@m.hnepe.nosp@m.ter..nosp@m.de

Definition at line 23 of file TypoScriptReferenceLoader.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::__construct ( )

Default constructor

Definition at line 38 of file TypoScriptReferenceLoader.php.

References $GLOBALS.

Member Function Documentation

◆ getDescription()

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::getDescription (   $typeId,
  $parameterName = '' 
)
protected

Get description

Parameters
string$typeId
string$parameterName
Returns
string

Definition at line 123 of file TypoScriptReferenceLoader.php.

References $GLOBALS, and TYPO3\CMS\T3editor\TypoScriptReferenceLoader\getType().

Referenced by TYPO3\CMS\T3editor\TypoScriptReferenceLoader\processAjaxRequest().

◆ getType()

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::getType (   $typeId)
protected

Get type

Parameters
string$typeId
Returns

Definition at line 155 of file TypoScriptReferenceLoader.php.

Referenced by TYPO3\CMS\T3editor\TypoScriptReferenceLoader\getDescription().

◆ getTypes()

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::getTypes ( )
protected

Get types from XML

Returns
array

Definition at line 89 of file TypoScriptReferenceLoader.php.

Referenced by TYPO3\CMS\T3editor\TypoScriptReferenceLoader\processAjaxRequest().

◆ loadFile()

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::loadFile (   $filepath)
protected

Load XML file

Parameters
string$filepath
Returns
void

Definition at line 74 of file TypoScriptReferenceLoader.php.

Referenced by TYPO3\CMS\T3editor\TypoScriptReferenceLoader\processAjaxRequest().

◆ processAjaxRequest()

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::processAjaxRequest (   $params,
\TYPO3\CMS\Core\Http\AjaxRequestHandler $ajaxObj 
)

General processor for AJAX requests. (called by typo3/ajax.php)

Parameters
array$paramsAdditional parameters (not used here)
\TYPO3\CMS\Core\Http\AjaxRequestHandler&$ajaxObjThe AjaxRequestHandler object of this request
Returns
void
Author
Oliver Hader olive.nosp@m.r@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 51 of file TypoScriptReferenceLoader.php.

References TYPO3\CMS\T3editor\TypoScriptReferenceLoader\$ajaxObj, TYPO3\CMS\T3editor\TypoScriptReferenceLoader\getDescription(), TYPO3\CMS\T3editor\TypoScriptReferenceLoader\getTypes(), and TYPO3\CMS\T3editor\TypoScriptReferenceLoader\loadFile().

Member Data Documentation

◆ $ajaxObj

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::$ajaxObj
protected

◆ $xmlDoc

TYPO3\CMS\T3editor\TypoScriptReferenceLoader::$xmlDoc
protected

Definition at line 28 of file TypoScriptReferenceLoader.php.