Documentation TYPO3 par Ameos |
Public Member Functions | |
init () | |
main () | |
printContent () | |
main_rte ($wiz=0) | |
main_db () | |
main_file () | |
expandPage () | |
TBE_expandPage ($tables) | |
expandFolder ($expandFolder=0, $extensionList='') | |
TBE_expandFolder ($expandFolder=0, $extensionList='', $noThumbs=0) | |
fileList ($files, $folderName='', $noThumbs=0) | |
TBE_dragNDrop ($expandFolder=0, $extensionList='') | |
isWebFolder ($folder) | |
checkFolder ($folder) | |
barheader ($str) | |
getMsgBox ($in_msg, $icon='icon_note') | |
printCurrentUrl ($str) | |
parseCurUrl ($href, $siteUrl) | |
uploadForm ($path) | |
createFolder ($path) | |
Public Attributes | |
$siteURL | |
$thisConfig | |
$setTarget | |
$doc | |
$mode | |
$act | |
$expandPage | |
$expandFolder | |
$P | |
$bparams | |
$RTEtsConfigParams | |
$PM | |
$pointer | |
$curUrlArray | |
$curUrlInfo |
Definition at line 636 of file browse_links.php.
|
Prints a 'header' where string is in a tablecell
Definition at line 2021 of file browse_links.php. Referenced by createFolder(), expandFolder(), expandPage(), fileList(), TBE_dragNDrop(), and uploadForm(). |
|
Checks, if a path is within the mountpoints of the backend user
Definition at line 2008 of file browse_links.php. References t3lib_div::makeInstance(). Referenced by expandFolder(), TBE_dragNDrop(), and TBE_expandFolder(). |
|
For TBE: Makes a form for creating new folders in the filemount the user is browsing. The folder creation request is sent to the tce_file.php script in the core which will handle the creation.
Definition at line 2195 of file browse_links.php. References barheader(), expandFolder(), and t3lib_div::isFirstPartOfStr(). Referenced by main_file(). |
|
For RTE: This displays all files from folder. No thumbnails shown
Definition at line 1661 of file browse_links.php. References $expandFolder, barheader(), checkFolder(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFileIcon(), and t3lib_div::getFilesInDir(). Referenced by createFolder(), init(), main(), main_file(), main_rte(), TBE_dragNDrop(), and TBE_expandFolder(). |
|
For RTE: This displays all content elements on a page and lets you create a link to the element.
Definition at line 1489 of file browse_links.php. References barheader(), t3lib_BEfunc::deleteClause(), t3lib_div::fixed_lgd_cs(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecord(), t3lib_div::inList(), and t3lib_div::testInt(). Referenced by init(), main(), and main_rte(). |
|
Render list of files.
Definition at line 1753 of file browse_links.php. References barheader(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFileIcon(), t3lib_div::getIndpEnv(), t3lib_BEfunc::getThumbNail(), t3lib_div::inList(), and t3lib_div::makeInstance(). Referenced by TBE_expandFolder(). |
|
Displays a message box with the input message
Definition at line 2038 of file browse_links.php. Referenced by TBE_dragNDrop(). |
|
Constructor: Initializes a lot of variables, setting JavaScript functions in header etc.
Definition at line 729 of file browse_links.php. References t3lib_div::_GP(), expandFolder(), expandPage(), t3lib_div::get_tag_attributes(), t3lib_div::getIndpEnv(), t3lib_BEfunc::getPagesTSconfig(), t3lib_div::implodeArrayForUrl(), t3lib_div::makeInstance(), parseCurUrl(), t3lib_BEfunc::RTEsetup(), and t3lib_div::trimExplode(). |
|
Verifies that a path is a web-folder:
Definition at line 1997 of file browse_links.php. References t3lib_div::isFirstPartOfStr(). Referenced by TBE_dragNDrop(). |
|
Main function, detecting the current mode of the element browser and branching out to internal methods.
Definition at line 984 of file browse_links.php. References expandFolder(), expandPage(), main_db(), main_file(), and main_rte(). |
|
TYPO3 Element Browser: Showing a page tree and allows you to browse for records
Definition at line 1336 of file browse_links.php. References t3lib_div::makeInstance(), and TBE_expandPage(). Referenced by main(). |
|
TYPO3 Element Browser: Showing a folder tree, allowing you to browse for files.
Definition at line 1380 of file browse_links.php. References t3lib_div::_GP(), createFolder(), expandFolder(), t3lib_BEfunc::getFuncCheck(), t3lib_BEfunc::getModuleData(), t3lib_div::makeInstance(), TBE_dragNDrop(), TBE_expandFolder(), and uploadForm(). Referenced by main(). |
|
Rich Text Editor (RTE) link selector (MAIN function) Generates the link selector for the Rich Text Editor. Can also be used to select links for the TCEforms (see $wiz)
Definition at line 1057 of file browse_links.php. References expandFolder(), expandPage(), t3lib_div::makeInstance(), printCurrentUrl(), and t3lib_div::trimExplode(). Referenced by main(). |
|
For RTE/link: Parses the incoming URL and determines if it's a page, file, external or mail address.
Definition at line 2080 of file browse_links.php. References t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordsByField(), t3lib_div::isFirstPartOfStr(), and t3lib_div::testInt(). Referenced by init(). |
|
Print module content
Definition at line 1026 of file browse_links.php. |
|
For RTE/link: This prints the 'currentUrl'
Definition at line 2060 of file browse_links.php. Referenced by main_rte(). |
|
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
Definition at line 1870 of file browse_links.php. References $expandFolder, t3lib_div::_GP(), barheader(), checkFolder(), expandFolder(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFileIcon(), t3lib_div::getFilesInDir(), getMsgBox(), t3lib_div::inList(), and isWebFolder(). Referenced by main_file(). |
|
For TYPO3 Element Browser: Expand folder of files.
Definition at line 1730 of file browse_links.php. References $expandFolder, checkFolder(), expandFolder(), fileList(), and t3lib_div::getFilesInDir(). Referenced by main_file(). |
|
For TYPO3 Element Browser: This lists all content elements from the given list of tables
Definition at line 1568 of file browse_links.php. Referenced by main_db(). |
|
For TBE: Makes an upload form for uploading files to the filemount the user is browsing. The files are uploaded to the tce_file.php script in the core which will handle the upload.
Definition at line 2142 of file browse_links.php. References barheader(), and t3lib_div::isFirstPartOfStr(). Referenced by main_file(). |
|
Link selector action. page,file,url,mail,spec are allowed values. These are only important with the link selector function and in that case they switch between the various menu options. Definition at line 662 of file browse_links.php. |
|
Active with TYPO3 Element Browser: Contains the name of the form field for which this window opens - thus allows us to make references back to the main window in which the form is. Example value: "data[pages][39][bodytext]|||tt_content|" or "data[tt_content][NEW3fba56fde763d][image]|||gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai|" Definition at line 685 of file browse_links.php. |
|
Used with the link selector: Contains the GET input information about the CURRENT link in the RTE/TCEform field. This consists of "href" and "target" keys. This information is passed around in links. Definition at line 712 of file browse_links.php. |
|
Used with the link selector: Contains a processed version of the input values from curUrlInfo. This is splitted into pageid, content element id, label value etc. This is used for the internal processing of that information. Definition at line 717 of file browse_links.php. |
|
When you click a folder name/expand icon to see the content of a certain file folder, this value will contain that value (the path of the expanded file folder). If the value is NOT set, then it will be restored from the module session data (see main(), mode="file"/"filedrag"). Example value: "/www/htdocs/typo3/32/3dsplm/fileadmin/css/" Definition at line 672 of file browse_links.php. Referenced by expandFolder(), TBE_dragNDrop(), and TBE_expandFolder(). |
|
When you click a page title/expand icon to see the content of a certain page, this value will contain that value (the ID of the expanded page). If the value is NOT set, then it will be restored from the module session data (see main(), mode="db") Definition at line 667 of file browse_links.php. |
|
The mode determines the main kind of output from the element browser. There are these options for values: rte, db, file, filedrag, wizard. "rte" will show the link selector for the Rich Text Editor (see main_rte()) "db" will allow you to browse for pages or records in the page tree (for TCEforms, see main_db()) "file"/"filedrag" will allow you to browse for files or folders in the folder mounts (for TCEforms, main_file()) "wizard" will allow you to browse for links (like "rte") which are passed back to TCEforms (see main_rte(1))
Definition at line 655 of file browse_links.php. |
|
TYPO3 Element Browser, wizard mode parameters. There is a heap of parameters there, better debug() them out if you need something... :-) Definition at line 679 of file browse_links.php. |
|
Plus/Minus icon value. Used by the tree class to open/close notes on the trees. Definition at line 699 of file browse_links.php. |
|
Pointer, used when browsing a long list of records etc. Definition at line 704 of file browse_links.php. |
|
Used with the Rich Text Editor. Example value: "tt_content:NEW3fba58c969f5c:bodytext:23:text:23:" Definition at line 691 of file browse_links.php. |