TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MicroDataSchema Class Reference
Inheritance diagram for MicroDataSchema:
RteHtmlAreaApi

Public Member Functions

 buildJavascriptConfiguration ()
 
- Public Member Functions inherited from RteHtmlAreaApi
 main (array $configuration)
 
 buildJavascriptConfiguration ()
 
 getExtensionKey ()
 
 addsButtons ()
 
 getPluginButtons ()
 
 getPluginLabels ()
 
 getConvertToolbarForHtmlAreaArray ()
 
 requiresClassesConfiguration ()
 
 getRequiredPlugins ()
 
 setToolbar (array $toolbar)
 

Protected Member Functions

 compareLabels ($a, $b)
 
 parseSchema ($string, &$schema)
 
- Protected Member Functions inherited from RteHtmlAreaApi
 cleanList ($str)
 
 getPageConfigLabel ($string)
 
 isFrontend ()
 
 isFrontendEditActive ()
 
 getFullFileName ($filename)
 
 writeTemporaryFile ($label, $fileExtension= 'js', $contents= '')
 
 getLanguageService ()
 

Protected Attributes

 $pluginName = 'MicrodataSchema'
 
 $pluginButtons = 'showmicrodata'
 
 $convertToolbarForHtmlAreaArray
 
- Protected Attributes inherited from RteHtmlAreaApi
 $extensionKey = 'rtehtmlarea'
 
 $pluginName
 
 $relativePathToSkin = ''
 
 $toolbar
 
 $pluginButtons = ''
 
 $pluginLabels = ''
 
 $pluginAddsButtons = true
 
 $convertToolbarForHtmlAreaArray = array()
 
 $requiresClassesConfiguration = false
 
 $requiredPlugins = ''
 
 $configuration
 

Detailed Description

Microdata Schema extension for htmlArea RTE

Definition at line 23 of file MicroDataSchema.php.

Member Function Documentation

buildJavascriptConfiguration ( )

Return JS configuration of the htmlArea plugins registered by the extension

Returns
string JS configuration for registered plugins

Definition at line 53 of file MicroDataSchema.php.

References GeneralUtility\getFileAbsFileName(), RteHtmlAreaApi\getFullFileName(), RteHtmlAreaApi\getLanguageService(), GeneralUtility\getUrl(), MicroDataSchema\parseSchema(), and RteHtmlAreaApi\writeTemporaryFile().

compareLabels (   $a,
  $b 
)
protected

Compare the labels of two schema types or properties for localized sort purposes

Parameters
array$a,:first type/property definition array
array$b,:second type/property definition array
Returns
int

Definition at line 94 of file MicroDataSchema.php.

parseSchema (   $string,
$schema 
)
protected

Convert the xml rdf schema into an array

Parameters
string$stringXML rdf schema to convert into an array
array$schema,:reference to the array to be filled
Returns
void

Definition at line 106 of file MicroDataSchema.php.

References elseif.

Referenced by MicroDataSchema\buildJavascriptConfiguration().

Member Data Documentation

$convertToolbarForHtmlAreaArray
protected
Initial value:
= array(
'showmicrodata' => 'ShowMicrodata'
)

Definition at line 44 of file MicroDataSchema.php.

$pluginButtons = 'showmicrodata'
protected

Definition at line 37 of file MicroDataSchema.php.

$pluginName = 'MicrodataSchema'
protected

Definition at line 30 of file MicroDataSchema.php.