Documentation TYPO3 par Ameos |
Public Member Functions | |
| 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='') | |
Public Attributes | |
| $extKey = 'rtehtmlarea' | |
| $content | |
| $act | |
| $allowedItems | |
| $plainMaxWidth | |
| $plainMaxHeight | |
| $magicMaxWidth | |
| $magicMaxHeight | |
| $imgPath | |
| $imgTitleDAMColumn = '' | |
| $classesImageJSOptions | |
| $editorNo | |
| $sys_language_content | |
| $buttonConfig = array() | |
Definition at line 47 of file class.tx_rtehtmlarea_dam_browse_media.php.
| tx_rtehtmlarea_dam_browse_media::isValid | ( | $ | type, | |
| &$ | pObj | |||
| ) |
Check if this object should be rendered.
| string | $type Type: "file", ... | |
| object | $pObj Parent object. |
Definition at line 71 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_div::_GP().
| 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. |
Definition at line 92 of file class.tx_rtehtmlarea_dam_browse_media.php.
References $content, init(), and main_rte().
| tx_rtehtmlarea_dam_browse_media::init | ( | ) |
Initialisation
Definition at line 120 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_div::_GP(), t3lib_div::getIndpEnv(), getJSCode(), t3lib_BEfunc::getPagesTSconfig(), imageInsert(), t3lib_div::makeInstance(), t3lib_BEfunc::RTEsetup(), and t3lib_div::trimExplode().
Referenced by render().
| tx_rtehtmlarea_dam_browse_media::rteImageStorageDir | ( | ) |
[Describe function...]
Definition at line 230 of file class.tx_rtehtmlarea_dam_browse_media.php.
Referenced by imageInsert().
| tx_rtehtmlarea_dam_browse_media::imageInsert | ( | ) |
[Describe function...]
Definition at line 240 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_div::_GP(), getRecordOverlay(), imageInsertJS(), t3lib_div::intInRange(), t3lib_div::loadTCA(), t3lib_div::makeInstance(), and rteImageStorageDir().
Referenced by init().
| tx_rtehtmlarea_dam_browse_media::getJSCode | ( | ) |
[Describe function...]
Definition at line 346 of file class.tx_rtehtmlarea_dam_browse_media.php.
Referenced by init().
| tx_rtehtmlarea_dam_browse_media::displayThumbs | ( | ) |
Return true or false whether thumbs should be displayed or not
Definition at line 562 of file class.tx_rtehtmlarea_dam_browse_media.php.
| tx_rtehtmlarea_dam_browse_media::addDisplayOptions | ( | ) |
Create HTML checkbox to enable/disable thumbnail display
Definition at line 574 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_BEfunc::getFuncCheck(), and t3lib_div::implodeArrayForUrl().
| 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", ... |
Definition at line 603 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_div::fixed_lgd_cs(), t3lib_div::getIndpEnv(), t3lib_BEfunc::getThumbNail(), and t3lib_div::inList().
| 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", ... |
Definition at line 744 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_div::shortMD5().
| tx_rtehtmlarea_dam_browse_media::main_rte | ( | ) |
[Describe function...]
Definition at line 814 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_div::_GP(), and t3lib_div::makeInstance().
Referenced by render().
| 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) |
Definition at line 913 of file class.tx_rtehtmlarea_dam_browse_media.php.
References t3lib_BEfunc::BEenableFields(), and t3lib_BEfunc::deleteClause().
Referenced by imageInsert().
1.4.6