Цитата:
Сообщение от void
PHP код:
/**
* Draws the RTE
*
* @param object Reference to parent object, which is an instance of the TCEforms.
* @param string The table name
* @param string The field name
* @param array The current row from which field is being rendered
* @param 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.
* @param array "special" configuration - what is found at position 4 in the types configuration of a field from record, parsed into an array.
* @param array Configuration for RTEs; A mix between TSconfig and otherwise. Contains configuration for display, which buttons are enabled, additional transformation information etc.
* @param string Record "type" field value.
* @param 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!
* @param integer PID value of record (true parent page id)
* @return string HTML code for RTE!
*/
Примеры использования можно посмотреть в admin_interface и cal.
|
Прямо как один из преподавателей когда-то по программированию:
-А можно...?
-Можно
-А как?
-Читайте справку F1
Если не трудно, то разжуйте чуть подробнее про использование RTE с более конкретным примером.
TYPO3 я занимаюсь меньше месяца(см.
Регистрация: 29.03.2007) и поэтому у меня неделя уйдёт, что бы понять: где этот пример использования в admin_interface, а уж понять, что такое cal и весь месяц. И ещё по неделе на разгадывание каждого параметра в Draws the RTE, где их взять и можно ли их заменить пустыми кавычками.