TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AdditionalResourceService Class Reference
Inheritance diagram for AdditionalResourceService:
SingletonInterface

Public Member Functions

 addJavaScriptResource ($name, $resourcePath)
 
 addStylesheetResource ($name, $resourcePath)
 
 addLocalizationResource ($resourcePath)
 
 getJavaScriptResources ()
 
 getStyleSheetResources ()
 
 getLocalizationResources ()
 

Static Public Member Functions

static getInstance ()
 
static getObjectManager ()
 

Protected Member Functions

 resolvePath ($resourcePath)
 

Protected Attributes

 $javaScriptResources = []
 
 $stylesheetResources = []
 
 $localizationResources = []
 

Detailed Description

Service for additional columns in GridPanel

Definition at line 22 of file AdditionalResourceService.php.

Member Function Documentation

addJavaScriptResource (   $name,
  $resourcePath 
)
Parameters
string$name
string$resourcePath
Returns
void

Definition at line 60 of file AdditionalResourceService.php.

References AdditionalResourceService\resolvePath().

addLocalizationResource (   $resourcePath)
Parameters
string$resourcePath
Returns
void

Definition at line 79 of file AdditionalResourceService.php.

References GeneralUtility\getFileAbsFileName().

addStylesheetResource (   $name,
  $resourcePath 
)
Parameters
string$name
string$resourcePath
Returns
void

Definition at line 70 of file AdditionalResourceService.php.

References AdditionalResourceService\resolvePath().

static getInstance ( )
static
Returns

Definition at line 42 of file AdditionalResourceService.php.

getJavaScriptResources ( )
Returns
array

Definition at line 88 of file AdditionalResourceService.php.

References AdditionalResourceService\$javaScriptResources.

getLocalizationResources ( )
Returns
array

Definition at line 104 of file AdditionalResourceService.php.

References AdditionalResourceService\$localizationResources.

static getObjectManager ( )
static
Returns

Definition at line 50 of file AdditionalResourceService.php.

References GeneralUtility\makeInstance().

getStyleSheetResources ( )
Returns
array

Definition at line 96 of file AdditionalResourceService.php.

References AdditionalResourceService\$stylesheetResources.

resolvePath (   $resourcePath)
protected

Resolve path

Parameters
string$resourcePath
Returns
NULL|string

Definition at line 115 of file AdditionalResourceService.php.

References GeneralUtility\getFileAbsFileName().

Referenced by AdditionalResourceService\addJavaScriptResource(), and AdditionalResourceService\addStylesheetResource().

Member Data Documentation

$javaScriptResources = []
protected
$localizationResources = []
protected
$stylesheetResources = []
protected