tx_rtehtmlarea_blockelements Class Reference

Inheritance diagram for tx_rtehtmlarea_blockelements:

Inheritance graph
[legend]
Collaboration diagram for tx_rtehtmlarea_blockelements:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 buildJavascriptConfiguration ($RTEcounter)

Protected Attributes

 $extensionKey = 'rtehtmlarea'
 $pluginName = 'BlockElements'
 $relativePathToLocallangFile = 'extensions/BlockElements/locallang.xml'
 $relativePathToSkin = 'extensions/BlockElements/skin/htmlarea.css'
 $htmlAreaRTE
 $thisConfig
 $toolbar
 $LOCAL_LANG
 $pluginButtons = 'formatblock, indent, outdent, blockquote, insertparagraphbefore, insertparagraphafter, left, center, right, justifyfull, orderedlist, unorderedlist'
 $convertToolbarForHtmlAreaArray
 $defaultBlockElements
 $defaultBlockElementsOrder = 'none, p, h1, h2, h3, h4, h5, h6, pre, address, blockquote, div'

Detailed Description

BlockElements extension for htmlArea RTE

Author:
Stanislas Rolland <typo3(arobas)sjbr.ca>
TYPO3 SVN ID:
Id
class.tx_rtehtmlarea_blockelements.php 4525 2008-12-02 23:41:38Z stan

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


Member Function Documentation

tx_rtehtmlarea_blockelements::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 90 of file class.tx_rtehtmlarea_blockelements.php.

References $GLOBALS, $TSFE, t3lib_div::strtolower(), and t3lib_div::trimExplode().


Member Data Documentation

tx_rtehtmlarea_blockelements::$convertToolbarForHtmlAreaArray [protected]

Initial value:

 array (
        'formatblock'       => 'FormatBlock',
        'indent'        => 'Indent',
        'outdent'       => 'Outdent',
        'blockquote'        => 'Blockquote',
        'insertparagraphbefore' => 'InsertParagraphBefore',
        'insertparagraphafter'  => 'InsertParagraphAfter',
        'left'          => 'JustifyLeft',
        'center'        => 'JustifyCenter',
        'right'         => 'JustifyRight',
        'justifyfull'       => 'JustifyFull',
        'orderedlist'       => 'InsertOrderedList',
        'unorderedlist'     => 'InsertUnorderedList',
        )

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$defaultBlockElements [protected]

Initial value:

 array(
        'none'      => 'No block',
        'p'     => 'Paragraph',
        'h1'        => 'Heading 1',
        'h2'        => 'Heading 2',
        'h3'        => 'Heading 3',
        'h4'        => 'Heading 4',
        'h5'        => 'Heading 5',
        'h6'        => 'Heading 6',
        'pre'       => 'Preformatted',
        'address'   => 'Address',
        'blockquote'    => 'Long quotation',
        'div'       => 'Section',
    )

Definition at line 62 of file class.tx_rtehtmlarea_blockelements.php.

tx_rtehtmlarea_blockelements::$defaultBlockElementsOrder = 'none, p, h1, h2, h3, h4, h5, h6, pre, address, blockquote, div' [protected]

Definition at line 77 of file class.tx_rtehtmlarea_blockelements.php.

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

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$htmlAreaRTE [protected]

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$LOCAL_LANG [protected]

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$pluginButtons = 'formatblock, indent, outdent, blockquote, insertparagraphbefore, insertparagraphafter, left, center, right, justifyfull, orderedlist, unorderedlist' [protected]

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$pluginName = 'BlockElements' [protected]

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$relativePathToLocallangFile = 'extensions/BlockElements/locallang.xml' [protected]

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$relativePathToSkin = 'extensions/BlockElements/skin/htmlarea.css' [protected]

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$thisConfig [protected]

Reimplemented from tx_rtehtmlareaapi.

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

tx_rtehtmlarea_blockelements::$toolbar [protected]

Reimplemented from tx_rtehtmlareaapi.

Definition at line 43 of file class.tx_rtehtmlarea_blockelements.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