Documentation TYPO3 par Ameos

tx_rte_base Class Reference

Inheritance diagram for tx_rte_base:

Inheritance graph
[legend]
Collaboration diagram for tx_rte_base:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 isAvailable ()
 drawRTE (&$pObj, $table, $field, $row, $PA, $specConf, $thisConfig, $RTEtypeVal, $RTErelPath, $thePidValue)
 loaderFunc ($formname)

Public Attributes

 $RTEdivStyle
 $ID = 'rte'
 $debugMode = FALSE

Detailed Description

Definition at line 58 of file class.tx_rte_base.php.


Member Function Documentation

tx_rte_base::drawRTE &$  pObj,
table,
field,
row,
PA,
specConf,
thisConfig,
RTEtypeVal,
RTErelPath,
thePidValue
 

Draws the RTE as an iframe for MSIE 5+

Parameters:
object Reference to parent object, which is an instance of the TCEforms.
string The table name
string The field name
array The current row from which field is being rendered
array Array of standard content for rendering form fields from TCEforms. See TCEforms for details on this. Includes for instance the value and the form field name, java script actions and more.
array "special" configuration - what is found at position 4 in the types configuration of a field from record, parsed into an array.
array Configuration for RTEs; A mix between TSconfig and otherwise. Contains configuration for display, which buttons are enabled, additional transformation information etc.
string Record "type" field value.
string Relative path for images/links in RTE; this is used when the RTE edits content from static files where the path of such media has to be transformed forth and back!
integer PID value of record (true parent page id)
Returns:
string HTML code for RTE!

Reimplemented from t3lib_rteapi.

Definition at line 103 of file class.tx_rte_base.php.

References $RTEdivStyle, loaderFunc(), and t3lib_rteapi::transformContent().

tx_rte_base::isAvailable  ) 
 

Returns true if the RTE is available. Here you check if the browser requirements are met. If there are reasons why the RTE cannot be displayed you simply enter them as text in ->errorLog

Returns:
boolean TRUE if this RTE object offers an RTE in the current browser environment

Reimplemented from t3lib_rteapi.

Definition at line 74 of file class.tx_rte_base.php.

References t3lib_div::devLog().

tx_rte_base::loaderFunc formname  ) 
 

Return the function for loading the RTEs

Parameters:
string Formname
Returns:
string Loader function

Definition at line 155 of file class.tx_rte_base.php.

Referenced by drawRTE().


The documentation for this class was generated from the following file:


Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6