|
TYPO3 API
SVNRelease
|


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 134 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 936 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getAllowedItems | ( | $ | items | ) |
Get the allowed items or tabs
| string | $items,: | initial list of possible items |
Definition at line 1160 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getBodyTagAdditions | ( | ) |
Provide the additional parameters to be included in the template body tag
Definition at line 263 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getButtonConfig | ( | ) | [protected] |
Get the configuration of the image button
Definition at line 1150 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getDefaultClass | ( | ) | [protected] |
Get the default image class
Definition at line 1188 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 1225 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 313 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getImgPath | ( | ) | [protected] |
Get the path of the image to be inserted or modified
Definition at line 1140 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 433 of file class.tx_rtehtmlarea_select_image.php.
References $GLOBALS, $TYPO3_CONF_VARS, t3lib_div\getIndpEnv(), and t3lib_div\trimExplode().
| tx_rtehtmlarea_select_image::getRTEConfig | ( | ) | [protected] |
Get the RTE configuration from Page TSConfig
Definition at line 1127 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::getRTEImageStorageDir | ( | ) | [protected] |
Get the path to the folder where RTE images are stored
Definition at line 272 of file class.tx_rtehtmlarea_select_image.php.
| 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 398 of file class.tx_rtehtmlarea_select_image.php.
References insertImage(), and t3lib_div\quoteJSvalue().
| tx_rtehtmlarea_select_image::init | ( | ) |
Initialisation
Reimplemented from browse_links.
Definition at line 160 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::initConfiguration | ( | ) |
Initializes the configuration variables
Definition at line 1113 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::initHookObjects | ( | ) | [protected] |
Initialize hook objects implementing interface t3lib_browseLinksHook
Definition at line 243 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::initVariables | ( | ) |
Initialize class variables
Definition at line 196 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::insertImage | ( | ) | [protected] |
Insert the image in the editing area
Definition at line 281 of file class.tx_rtehtmlarea_select_image.php.
Referenced by imageInsertJS().
| 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 331 of file class.tx_rtehtmlarea_select_image.php.
| 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 380 of file class.tx_rtehtmlarea_select_image.php.
| 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 903 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::main_rte | ( | ) |
[Describe function...]
Definition at line 786 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_treeView\$BE_USER, $FILEMOUNTS, $TYPO3_CONF_VARS, and t3lib_div\_GP().
| 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 759 of file class.tx_rtehtmlarea_select_image.php.
References t3lib_treeView\$data.
| tx_rtehtmlarea_select_image::setMaximumImageDimensions | ( | ) | [protected] |
Set variables for maximum image dimensions
Definition at line 1203 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 1003 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$allowedFileTypes = array() |
Definition at line 139 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$allowedItems |
Definition at line 138 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$buttonConfig |
Definition at line 151 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$content |
Definition at line 136 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$defaultClass [protected] |
Definition at line 140 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$editorNo |
Definition at line 148 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$extKey = 'rtehtmlarea' |
Definition at line 135 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$imgObj [protected] |
Definition at line 153 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$imgPath [protected] |
Definition at line 145 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$magicMaxHeight [protected] |
Definition at line 144 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$magicMaxWidth [protected] |
Definition at line 143 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$plainMaxHeight [protected] |
Definition at line 142 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$plainMaxWidth [protected] |
Definition at line 141 of file class.tx_rtehtmlarea_select_image.php.
tx_rtehtmlarea_select_image::$RTEImageStorageDir [protected] |
Definition at line 146 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$sys_language_content |
Definition at line 149 of file class.tx_rtehtmlarea_select_image.php.
| tx_rtehtmlarea_select_image::$thisConfig |
Reimplemented from browse_links.
Definition at line 150 of file class.tx_rtehtmlarea_select_image.php.
1.7.5.1