Documentation TYPO3 par Ameos |
Public Member Functions | |
isAvailable () | |
drawRTE (&$pObj, $table, $field, $row, $PA, $specConf, $thisConfig, $RTEtypeVal, $RTErelPath, $thePidValue) | |
transformContent ($dirRTE, $value, $table, $field, $row, $specConf, $thisConfig, $RTErelPath, $pid) | |
triggerField ($fieldName) | |
Public Attributes | |
$errorLog = array() | |
$ID = '' |
Definition at line 64 of file class.t3lib_rteapi.php.
|
Draws the RTE as a form field or whatever is needed (inserts JavaApplet, creates iframe, renders ....) Default is to output the transformed content in a plain textarea field. This mode is great for debugging transformations!
Reimplemented in tx_rtehtmlarea_base, and tx_rtehtmlarea_pi2. Definition at line 118 of file class.t3lib_rteapi.php. References t3lib_div::formatForTextarea(), and transformContent(). |
|
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
Reimplemented in tx_rtehtmlarea_base. Definition at line 93 of file class.t3lib_rteapi.php. |
|
Performs transformation of content to/from RTE. The keyword $dirRTE determines the direction. This function is called in two situations: a) Right before content from database is sent to the RTE (see ->drawRTE()) it might need transformation b) When content is sent from the RTE and into the database it might need transformation back again (going on in TCEmain class; You can't affect that.)
Definition at line 151 of file class.t3lib_rteapi.php. References t3lib_BEfunc::getSpecConfParametersFromArray(), and t3lib_div::makeInstance(). Referenced by tx_rtehtmlarea_pi2::drawRTE(), tx_rtehtmlarea_base::drawRTE(), and drawRTE(). |
|
Trigger field - this field tells the TCEmain that processing should be done on this value!
Definition at line 197 of file class.t3lib_rteapi.php. Referenced by tx_rtehtmlarea_pi2::drawRTE(), and tx_rtehtmlarea_base::drawRTE(). |