Fonctions membres publiques | |
| isValid ($type, &$pObj) | |
| render ($type, &$pObj) | |
| init () | |
| rteImageStorageDir () | |
| imageInsert () | |
| imageInsertJS ($url, $width, $height, $altText, $titleText, $origFile) | |
| getJSCode () | |
| reinitParams () | |
| displayThumbs () | |
| addDisplayOptions () | |
| renderFileList ($files, $mode='file') | |
| getFileListArr ($allowedFileTypes, $disallowedFileTypes, $mode) | |
| main_rte () | |
| getRecordOverlay ($table, $row, $sys_language_content, $OLmode='') | |
Attributs publics | |
| $extKey = 'rtehtmlarea' | |
| $content | |
| $act | |
| $allowedItems | |
| $plainMaxWidth | |
| $plainMaxHeight | |
| $magicMaxWidth | |
| $magicMaxHeight | |
| $imgPath | |
| $imgTitleDAMColumn = '' | |
| $classesImageJSOptions | |
| $editorNo | |
| $sys_language_content | |
| $buttonConfig = array() | |
| tx_rtehtmlarea_dam_browse_media::isValid | ( | $ | type, | |
| &$ | pObj | |||
| ) |
Check if this object should be rendered.
| string | $type Type: "file", ... | |
| object | $pObj Parent object. |
| tx_rtehtmlarea_dam_browse_media::render | ( | $ | type, | |
| &$ | pObj | |||
| ) |
Rendering Called in SC_browse_links::main() when isValid() returns true;
| string | $type Type: "file", ... | |
| object | $pObj Parent object. |
| tx_rtehtmlarea_dam_browse_media::init | ( | ) |
Initialisation
| tx_rtehtmlarea_dam_browse_media::rteImageStorageDir | ( | ) |
[Describe function...]
| tx_rtehtmlarea_dam_browse_media::imageInsert | ( | ) |
[Describe function...]
| tx_rtehtmlarea_dam_browse_media::imageInsertJS | ( | $ | url, | |
| $ | width, | |||
| $ | height, | |||
| $ | altText, | |||
| $ | titleText, | |||
| $ | origFile | |||
| ) |
| tx_rtehtmlarea_dam_browse_media::getJSCode | ( | ) |
[Describe function...]
| tx_rtehtmlarea_dam_browse_media::reinitParams | ( | ) |
| tx_rtehtmlarea_dam_browse_media::displayThumbs | ( | ) |
Return true or false whether thumbs should be displayed or not
| tx_rtehtmlarea_dam_browse_media::addDisplayOptions | ( | ) |
Create HTML checkbox to enable/disable thumbnail display
| tx_rtehtmlarea_dam_browse_media::renderFileList | ( | $ | files, | |
| $ | mode = 'file' | |||
| ) |
Render list of files.
| array | List of files. See t3lib_div::getFilesInDir | |
| string | $mode EB mode: "db", "file", ... |
| tx_rtehtmlarea_dam_browse_media::getFileListArr | ( | $ | allowedFileTypes, | |
| $ | disallowedFileTypes, | |||
| $ | mode | |||
| ) |
Makes a DAM db query and collects data to be used in EB display
| string | $allowedFileTypes Comma list of allowed file types | |
| string | $disallowedFileTypes Comma list of disallowed file types | |
| string | $mode EB mode: "db", "file", ... |
| tx_rtehtmlarea_dam_browse_media::main_rte | ( | ) |
[Describe function...]
| tx_rtehtmlarea_dam_browse_media::getRecordOverlay | ( | $ | table, | |
| $ | row, | |||
| $ | sys_language_content, | |||
| $ | OLmode = '' | |||
| ) |
Import from t3lib_page in order to create backend version Creates language-overlay for records in general (where translation is found in records from the same table)
| string | Table name | |
| array | Record to overlay. Must containt uid, pid and $table]['ctrl']['languageField'] | |
| integer | Pointer to the sys_language uid for content on the site. | |
| string | Overlay mode. If "hideNonTranslated" then records without translation will not be returned un-translated but unset (and return value is false) |
| tx_rtehtmlarea_dam_browse_media::$extKey = 'rtehtmlarea' |
| tx_rtehtmlarea_dam_browse_media::$content |
| tx_rtehtmlarea_dam_browse_media::$act |
| tx_rtehtmlarea_dam_browse_media::$allowedItems |
| tx_rtehtmlarea_dam_browse_media::$plainMaxWidth |
| tx_rtehtmlarea_dam_browse_media::$plainMaxHeight |
| tx_rtehtmlarea_dam_browse_media::$magicMaxWidth |
| tx_rtehtmlarea_dam_browse_media::$magicMaxHeight |
| tx_rtehtmlarea_dam_browse_media::$imgPath |
| tx_rtehtmlarea_dam_browse_media::$imgTitleDAMColumn = '' |
| tx_rtehtmlarea_dam_browse_media::$classesImageJSOptions |
| tx_rtehtmlarea_dam_browse_media::$editorNo |
| tx_rtehtmlarea_dam_browse_media::$sys_language_content |
| tx_rtehtmlarea_dam_browse_media::$buttonConfig = array() |
1.5.3