

Public Member Functions | |
| init () | |
| initVariables () | |
| getBodyTagAdditions () | |
| getImageInfo ($filepath) | |
| insertMagicImage ($filepath, $imgInfo, $altText='', $titleText='', $additionalParams='') | |
| insertPlainImage ($imgInfo, $altText='', $titleText='', $additionalParams='') | |
| getJSCode ($act, $editorNo, $sys_language_content) | |
| processSessionData ($data) | |
| main_rte () | |
| expandFolder ($expandFolder=0, $plainFlag=0, $noThumbs=0) | |
| TBE_dragNDrop ($expandFolder=0, $extensionList='') | |
| initConfiguration () | |
| getAllowedItems ($items) | |
| getHelpMessage ($act) | |
Public Attributes | |
| $extKey = 'rtehtmlarea' | |
| $content | |
| $allowedItems | |
| $allowedFileTypes = array() | |
| $editorNo | |
| $sys_language_content | |
| $thisConfig | |
| $buttonConfig | |
Protected Member Functions | |
| initHookObjects () | |
| getRTEImageStorageDir () | |
| insertImage () | |
| imageInsertJS ($url, $width, $height, $altText='', $titleText='', $additionalParams='') | |
| insertUploadForm ($folderPath) | |
| getRTEConfig () | |
| getImgPath () | |
| getButtonConfig () | |
| getDefaultClass () | |
| setMaximumImageDimensions () | |
Protected Attributes | |
| $defaultClass | |
| $plainMaxWidth | |
| $plainMaxHeight | |
| $magicMaxWidth | |
| $magicMaxHeight | |
| $imgPath | |
| $RTEImageStorageDir | |
| $imgObj | |
Definition at line 135 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::expandFolder | ( | $ | expandFolder = 0, |
|
| $ | plainFlag = 0, |
|||
| $ | noThumbs = 0 | |||
| ) |
| [type] | $expandFolder: ... | |
| [type] | $plainFlag: ... |
Definition at line 907 of file class.tx_rtehtmlarea_select_image.php.
References $BACK_PATH, $GLOBALS, $lines, t3lib_div::_GP(), t3lib_div::fixed_lgd(), t3lib_BEfunc::getFileIcon(), t3lib_div::getFilesInDir(), t3lib_div::makeInstance(), nbsp, and t3lib_div::rawUrlEncodeFP().
Referenced by initVariables().
| tx_rtehtmlarea_select_image::getAllowedItems | ( | $ | items | ) |
Get the allowed items or tabs
| string | $items: initial list of possible items |
Definition at line 1133 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_div::clientInfo(), and t3lib_div::trimExplode().
Referenced by init().
| tx_rtehtmlarea_select_image::getBodyTagAdditions | ( | ) |
Provide the additional parameters to be included in the template body tag
Definition at line 264 of file class.tx_rtehtmlarea_select_image.php.
Referenced by init().
| tx_rtehtmlarea_select_image::getButtonConfig | ( | ) | [protected] |
Get the configuration of the image button
Definition at line 1123 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getDefaultClass | ( | ) | [protected] |
Get the default image class
Definition at line 1157 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getHelpMessage | ( | $ | act | ) |
Get the help message to be displayed on a given tab
| string | $act: the identifier of the tab |
Definition at line 1194 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getImageInfo | ( | $ | filepath | ) |
Get the information on the image file identified its path
| string | $filepath: the path to the image file |
Definition at line 314 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_div::makeInstance().
Referenced by insertImage().
| tx_rtehtmlarea_select_image::getImgPath | ( | ) | [protected] |
Get the path of the image to be inserted or modified
Definition at line 1113 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getJSCode | ( | $ | act, | |
| $ | editorNo, | |||
| $ | sys_language_content | |||
| ) |
Generate JS code to be used on the image insert/modify dialogue
| string | $act: the action to be performed | |
| string | $editorNo: the number of the RTE instance on the page | |
| string | $sys_language_content: the language of the content element |
Definition at line 425 of file class.tx_rtehtmlarea_select_image.php.
References $GLOBALS, $TYPO3_CONF_VARS, insertImage(), and t3lib_div::trimExplode().
| tx_rtehtmlarea_select_image::getRTEConfig | ( | ) | [protected] |
Get the RTE configuration from Page TSConfig
Definition at line 1100 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_BEfunc::getPagesTSconfig(), and t3lib_BEfunc::RTEsetup().
| tx_rtehtmlarea_select_image::getRTEImageStorageDir | ( | ) | [protected] |
Get the path to the folder where RTE images are stored
Definition at line 273 of file class.tx_rtehtmlarea_select_image.php.
References $GLOBALS.
| tx_rtehtmlarea_select_image::imageInsertJS | ( | $ | url, | |
| $ | width, | |||
| $ | height, | |||
| $ | altText = '', |
|||
| $ | titleText = '', |
|||
| $ | additionalParams = '' | |||
| ) | [protected] |
Echo the HTML page and JS that will insert the image
| string | $url: the url of the image | |
| integer | $width: the width of the image | |
| integer | $height: the height of the image | |
| string | $altText: text for the alt attribute of the image | |
| string | $titleText: text for the title attribute of the image | |
| string | $additionalParams: text representing more html attributes to be added on the img tag |
Definition at line 389 of file class.tx_rtehtmlarea_select_image.php.
References insertImage(), and t3lib_div::quoteJSvalue().
Referenced by insertMagicImage(), and insertPlainImage().
| tx_rtehtmlarea_select_image::init | ( | ) |
Initialisation
Reimplemented from browse_links.
Definition at line 161 of file class.tx_rtehtmlarea_select_image.php.
References $BACK_PATH, $GLOBALS, getAllowedItems(), getBodyTagAdditions(), initConfiguration(), initHookObjects(), initVariables(), insertImage(), and t3lib_div::makeInstance().
| tx_rtehtmlarea_select_image::initConfiguration | ( | ) |
Initializes the configuration variables
Definition at line 1086 of file class.tx_rtehtmlarea_select_image.php.
Referenced by init().
| tx_rtehtmlarea_select_image::initHookObjects | ( | ) | [protected] |
Initialize hook objects implementing interface t3lib_browseLinksHook
Definition at line 244 of file class.tx_rtehtmlarea_select_image.php.
References $TYPO3_CONF_VARS, and t3lib_div::getUserObj().
Referenced by init().
| tx_rtehtmlarea_select_image::initVariables | ( | ) |
Initialize class variables
Definition at line 197 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_div::_GP(), expandFolder(), browse_links::expandPage(), and t3lib_div::getIndpEnv().
Referenced by init().
| tx_rtehtmlarea_select_image::insertImage | ( | ) | [protected] |
Insert the image in the editing area
Definition at line 282 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_div::_GP(), exit, getImageInfo(), insertMagicImage(), and insertPlainImage().
Referenced by getJSCode(), imageInsertJS(), and init().
| tx_rtehtmlarea_select_image::insertMagicImage | ( | $ | filepath, | |
| $ | imgInfo, | |||
| $ | altText = '', |
|||
| $ | titleText = '', |
|||
| $ | additionalParams = '' | |||
| ) |
Insert a magic image
| string | $filepath: the path to the image file | |
| array | $imgInfo: a 4-elements information array about the file | |
| string | $altText: text for the alt attribute of the image | |
| string | $titleText: text for the title attribute of the image | |
| string | $additionalParams: text representing more HTML attributes to be added on the img tag |
Definition at line 332 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_div::_GP(), t3lib_div::fixPermissions(), imageInsertJS(), t3lib_div::intInRange(), and t3lib_div::makeInstance().
Referenced by insertImage().
| tx_rtehtmlarea_select_image::insertPlainImage | ( | $ | imgInfo, | |
| $ | altText = '', |
|||
| $ | titleText = '', |
|||
| $ | additionalParams = '' | |||
| ) |
Insert a plain image
| array | $imgInfo: a 4-elements information array about the file | |
| string | $altText: text for the alt attribute of the image | |
| string | $titleText: text for the title attribute of the image | |
| string | $additionalParams: text representing more HTML attributes to be added on the img tag |
Definition at line 371 of file class.tx_rtehtmlarea_select_image.php.
References imageInsertJS().
Referenced by insertImage().
| tx_rtehtmlarea_select_image::insertUploadForm | ( | $ | folderPath | ) | [protected] |
Create upload/create folder forms, if a path is given
| string | $folderPath: the selected path , if any |
Definition at line 874 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::main_rte | ( | ) |
[Describe function...]
Definition at line 757 of file class.tx_rtehtmlarea_select_image.php.
References $FILEMOUNTS, $TYPO3_CONF_VARS, t3lib_div::_GP(), t3lib_BEfunc::getFuncCheck(), t3lib_BEfunc::getModuleData(), t3lib_div::makeInstance(), and nbsp.
| tx_rtehtmlarea_select_image::processSessionData | ( | $ | data | ) |
Session data for this class can be set from outside with this method. Call after init()
| array | Session data array |
Reimplemented from browse_links.
Definition at line 730 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::setMaximumImageDimensions | ( | ) | [protected] |
Set variables for maximum image dimensions
Definition at line 1172 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::TBE_dragNDrop | ( | $ | expandFolder = 0, |
|
| $ | extensionList = '' | |||
| ) |
For RTE: This displays all IMAGES (gif,png,jpg) (from extensionList) from folder. Thumbnails are shown for images. This listing is of images located in the web-accessible paths ONLY - the listing is for drag-n-drop use in the RTE
| string | The folder path to expand | |
| string | List of fileextensions to show |
Reimplemented from browse_links.
Definition at line 976 of file class.tx_rtehtmlarea_select_image.php.
References $BACK_PATH, $GLOBALS, $lines, t3lib_div::_GP(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFileIcon(), t3lib_div::getFilesInDir(), t3lib_div::inList(), and nbsp.
| tx_rtehtmlarea_select_image::$allowedFileTypes = array() |
Definition at line 140 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$allowedItems |
Definition at line 139 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$buttonConfig |
Definition at line 152 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$content |
Definition at line 137 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$defaultClass [protected] |
Definition at line 141 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$editorNo |
Definition at line 149 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$extKey = 'rtehtmlarea' |
Definition at line 136 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$imgObj [protected] |
Definition at line 154 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$imgPath [protected] |
Definition at line 146 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$magicMaxHeight [protected] |
Definition at line 145 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$magicMaxWidth [protected] |
Definition at line 144 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$plainMaxHeight [protected] |
Definition at line 143 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$plainMaxWidth [protected] |
Definition at line 142 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$RTEImageStorageDir [protected] |
Definition at line 147 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$sys_language_content |
Definition at line 150 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$thisConfig |
Reimplemented from browse_links.
Definition at line 151 of file class.tx_rtehtmlarea_select_image.php.
1.4.7