tx_rtehtmlarea_acronym Class Reference

Inheritance diagram for tx_rtehtmlarea_acronym:

Inheritance graph
[legend]
Collaboration diagram for tx_rtehtmlarea_acronym:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 transformContent ($content)
 buildJavascriptConfiguration ($RTEcounter)
 buildJSAcronymArray ($languageUid)

Protected Attributes

 $extensionKey = 'rtehtmlarea'
 $pluginName = 'Acronym'
 $relativePathToLocallangFile = ''
 $relativePathToSkin = 'extensions/Acronym/skin/htmlarea.css'
 $htmlAreaRTE
 $thisConfig
 $toolbar
 $LOCAL_LANG
 $pluginButtons = 'acronym'
 $convertToolbarForHtmlAreaArray
 $acronymIndex = 0
 $abbraviationIndex = 0

Detailed Description

Acronym extension for htmlArea RTE

Author:
Stanislas Rolland <typo3(arobas)sjbr.ca>
TYPO3 SVN ID:
Id
class.tx_rtehtmlarea_acronym.php 4252 2008-09-26 15:57:14Z stan

Definition at line 35 of file class.tx_rtehtmlarea_acronym.php.


Member Function Documentation

tx_rtehtmlarea_acronym::buildJavascriptConfiguration ( RTEcounter  ) 

Return JS configuration of the htmlArea plugins registered by the extension

Parameters:
integer Relative id of the RTE editing area in the form
Returns:
string JS configuration for registered plugins, in this case, JS configuration of block elements
The returned string will be a set of JS instructions defining the configuration that will be provided to the plugin(s) Each of the instructions should be of the form: RTEarea['.$RTEcounter.']["buttons"]["button-id"]["property"] = "value";

Reimplemented from tx_rtehtmlareaapi.

Definition at line 82 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::buildJSAcronymArray ( languageUid  ) 

Return an acronym array for the Acronym plugin

Returns:
string acronym Javascript array

Definition at line 112 of file class.tx_rtehtmlarea_acronym.php.

References $GLOBALS, $res, $TYPO3_DB, t3lib_BEfunc::BEenableFields(), t3lib_BEfunc::deleteClause(), and t3lib_div::trimExplode().

tx_rtehtmlarea_acronym::transformContent ( content  ) 

Return tranformed content

Parameters:
string $content: The content that is about to be sent to the RTE
Returns:
string the transformed content

Definition at line 60 of file class.tx_rtehtmlarea_acronym.php.

References $content.


Member Data Documentation

tx_rtehtmlarea_acronym::$abbraviationIndex = 0 [protected]

Definition at line 51 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$acronymIndex = 0 [protected]

Definition at line 50 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$convertToolbarForHtmlAreaArray [protected]

Initial value:

 array (
        'acronym'   => 'Acronym',
        )

Reimplemented from tx_rtehtmlareaapi.

Definition at line 47 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$extensionKey = 'rtehtmlarea' [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 37 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$htmlAreaRTE [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 41 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$LOCAL_LANG [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 44 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$pluginButtons = 'acronym' [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 46 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$pluginName = 'Acronym' [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 38 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$relativePathToLocallangFile = '' [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 39 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$relativePathToSkin = 'extensions/Acronym/skin/htmlarea.css' [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 40 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$thisConfig [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 42 of file class.tx_rtehtmlarea_acronym.php.

tx_rtehtmlarea_acronym::$toolbar [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 43 of file class.tx_rtehtmlarea_acronym.php.


The documentation for this class was generated from the following file:
Generated on Sat Jan 3 04:24:06 2009 for TYPO3 API by  doxygen 1.4.7