Documentation TYPO3 par Ameos |
Public Member Functions | |
init () | |
doDisplayTopFrameCM () | |
printDBClickMenu ($table, $uid) | |
printNewDBLevel ($table, $uid) | |
externalProcessingOfDBMenuItems ($menuItems) | |
processingByExtClassArray ($menuItems, $table, $uid) | |
urlRefForCM ($url, $retUrl='', $hideCM=1) | |
DB_copycut ($table, $uid, $type) | |
DB_paste ($table, $uid, $type, $elInfo) | |
DB_info ($table, $uid) | |
DB_history ($table, $uid) | |
DB_perms ($table, $uid, $rec) | |
DB_db_list ($table, $uid, $rec) | |
DB_moveWizard ($table, $uid, $rec) | |
DB_newWizard ($table, $uid, $rec) | |
DB_editAccess ($table, $uid) | |
DB_editPageHeader ($uid) | |
DB_editPageProperties ($uid) | |
DB_edit ($table, $uid) | |
DB_new ($table, $uid) | |
DB_delete ($table, $uid, $elInfo) | |
DB_view ($id, $anchor='') | |
DB_tempMountPoint ($page_id) | |
DB_hideUnhide ($table, $rec, $hideField) | |
DB_changeFlag ($table, $rec, $flagField, $title, $name, $iconRelPath='gfx/') | |
printFileClickMenu ($path) | |
externalProcessingOfFileMenuItems ($menuItems) | |
FILE_launch ($path, $script, $type, $image) | |
FILE_copycut ($path, $type) | |
FILE_delete ($path) | |
FILE_paste ($path, $target, $elInfo) | |
printDragDropClickMenu ($table, $srcId, $dstId) | |
externalProcessingOfDragDropMenuItems ($menuItems) | |
dragDrop_copymovepage ($srcUid, $dstUid, $action, $into) | |
dragDrop_copymovefolder ($srcPath, $dstPath, $action) | |
printItems ($menuItems, $item) | |
printLayerJScode ($menuItems) | |
wrapColorTableCM ($str) | |
menuItemsForTopFrame ($menuItems) | |
menuItemsForClickMenu ($menuItems) | |
addMenuItems ($menuItems, $newMenuItems, $position='') | |
linkItem ($str, $icon, $onClick, $onlyCM=0, $dontHide=0) | |
excludeIcon ($iconCode) | |
enableDisableItems ($menuItems) | |
cleanUpSpacers ($menuItems) | |
label ($label) | |
isCMlayers () | |
frameLocation ($str) | |
Public Attributes | |
$cmLevel = 0 | |
$CB | |
$backPath = '' | |
$PH_backPath = '###BACK_PATH###' | |
$listFrame = 0 | |
$isDBmenu = 0 | |
$alwaysContentFrame = 0 | |
$iParts = array() | |
$disabledItems = array() | |
$dontDisplayTopFrameCM = 0 | |
$leftIcons = 0 | |
$extClassArray = array() | |
$ajax = 0 | |
$elCount = 0 | |
$editPageIconSet = 0 | |
$editOK = 0 | |
$rec = array() |
Definition at line 136 of file alt_clickmenu.php.
|
Adds or inserts a menu item Can be used to set the position of new menu entries within the list of existing menu entries. Has this syntax: [cmd]:[menu entry key],[cmd].... cmd can be "after", "before" or "top" (or blank/"bottom" which is default). If "after"/"before" then menu items will be inserted after/before the existing entry with [menu entry key] if found. "after-spacer" and "before-spacer" do the same, but inserts before or after an item and a spacer. If not found, the bottom of list. If "top" the items are inserted in the top of the list.
Definition at line 1301 of file alt_clickmenu.php. References t3lib_div::trimExplode(). |
|
Clean up spacers; Will remove any spacers in the start/end of menu items array plus any duplicates.
Definition at line 1454 of file alt_clickmenu.php. Referenced by printItems(). |
|
Adding CM element for a flag field of the input record
Definition at line 790 of file alt_clickmenu.php. References $rec, excludeIcon(), frameLocation(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by DB_hideUnhide(). |
|
Adding CM element for Clipboard "copy" and "cut"
Definition at line 431 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for DBlist
Definition at line 539 of file alt_clickmenu.php. References $rec, excludeIcon(), t3lib_div::getIndpEnv(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for Delete
Definition at line 717 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for regular editing of the element!
Definition at line 650 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), t3lib_extMgm::isLoaded(), t3lib_BEfunc::isModuleSetInTBE_MODULES(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for Editing of the access related fields of a table (disable, starttime, endtime, fe_groups)
Definition at line 602 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for edit page header
Definition at line 621 of file alt_clickmenu.php. References DB_editPageProperties(). |
|
Adding CM element for edit page properties
Definition at line 632 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by DB_editPageHeader(). |
|
Adding CM element for hide/unhide of the input record
Definition at line 775 of file alt_clickmenu.php. References $rec, DB_changeFlag(), and label(). |
|
Adding CM element for History
Definition at line 501 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for Info
Definition at line 485 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(), and printFileClickMenu(). |
|
Adding CM element for Moving wizard
Definition at line 558 of file alt_clickmenu.php. References $rec, excludeIcon(), linkItem(), t3lib_iconWorks::skinImg(), and urlRefForCM(). |
|
Adding CM element for regular Create new element
Definition at line 692 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for Create new wizard (either db_new.php or sysext/cms/layout/db_new_content_el.php or custom wizard)
Definition at line 579 of file alt_clickmenu.php. References $rec, excludeIcon(), t3lib_extMgm::extRelPath(), t3lib_BEfunc::getModTSconfig(), t3lib_extMgm::isLoaded(), linkItem(), t3lib_iconWorks::skinImg(), and urlRefForCM(). |
|
Adding CM element for Clipboard "paste into"/"paste after" NOTICE: $table and $uid should follow the special syntax for paste, see clipboard-class :: pasteUrl();
Definition at line 460 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for Permission setting
Definition at line 520 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding element for setting temporary mount point.
Definition at line 758 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for View Page
Definition at line 743 of file alt_clickmenu.php. References t3lib_BEfunc::BEgetRootLine(), excludeIcon(), label(), linkItem(), t3lib_iconWorks::skinImg(), and t3lib_BEfunc::viewOnClick(). Referenced by printDBClickMenu(). |
|
Returns true if the menu should (also?) be displayed in topframe, not just -layers
Definition at line 222 of file alt_clickmenu.php. Referenced by printItems(), and printLayerJScode(). |
|
Adding CM element for Copying/Moving a Folder Into from a drag & drop action
Definition at line 1094 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDragDropClickMenu(). |
|
Adding CM element for Copying/Moving a Page Into/After from a drag & drop action
Definition at line 1069 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDragDropClickMenu(). |
|
Enabling / Disabling items based on list provided from GET var ($this->iParts[3])
Definition at line 1416 of file alt_clickmenu.php. References t3lib_div::inList(), and t3lib_div::trimExplode(). Referenced by printItems(). |
|
Returns the input string IF not a user setting has disabled display of icons.
Definition at line 1406 of file alt_clickmenu.php. Referenced by DB_changeFlag(), DB_copycut(), DB_db_list(), DB_delete(), DB_edit(), DB_editAccess(), DB_editPageProperties(), DB_history(), DB_info(), DB_moveWizard(), DB_new(), DB_newWizard(), DB_paste(), DB_perms(), DB_tempMountPoint(), DB_view(), dragDrop_copymovefolder(), dragDrop_copymovepage(), FILE_copycut(), FILE_delete(), FILE_launch(), and FILE_paste(). |
|
Processing the $menuItems array (for extension classes) (DATABASE RECORDS)
Definition at line 383 of file alt_clickmenu.php. Referenced by printDBClickMenu(), and printDragDropClickMenu(). |
|
Processing the $menuItems array (for extension classes) (DRAG'N DROP)
Definition at line 1054 of file alt_clickmenu.php. |
|
Processing the $menuItems array (for extension classes) (FILES)
Definition at line 888 of file alt_clickmenu.php. Referenced by printFileClickMenu(). |
|
Returns element for copy or cut of files.
Definition at line 922 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printFileClickMenu(). |
|
Creates element for deleting of target
Definition at line 948 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), label(), linkItem(), t3lib_BEfunc::referenceCount(), and t3lib_iconWorks::skinImg(). Referenced by printFileClickMenu(). |
|
Multi-function for adding an entry to the $menuItems array
Definition at line 902 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printFileClickMenu(). |
|
Creates element for pasting files.
Definition at line 975 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printFileClickMenu(). |
|
Appends ".location" to input string
Definition at line 1519 of file alt_clickmenu.php. Referenced by DB_changeFlag(), DB_delete(), DB_edit(), DB_paste(), dragDrop_copymovefolder(), dragDrop_copymovepage(), FILE_delete(), and FILE_launch(). |
|
Initialize click menu
Definition at line 168 of file alt_clickmenu.php. References t3lib_div::_GP(), printDBClickMenu(), printDragDropClickMenu(), printFileClickMenu(), printNewDBLevel(), and t3lib_div::trimExplode(). |
|
Returns true if there should be writing to the div-layers (commands sent to clipboard MUST NOT write to div-layers)
Definition at line 1505 of file alt_clickmenu.php. Referenced by printLayerJScode(). |
|
Get label from locallang_core.php:cm.*
Definition at line 1496 of file alt_clickmenu.php. Referenced by DB_copycut(), DB_delete(), DB_edit(), DB_hideUnhide(), DB_info(), DB_new(), DB_paste(), DB_tempMountPoint(), DB_view(), dragDrop_copymovefolder(), dragDrop_copymovepage(), FILE_copycut(), FILE_delete(), FILE_launch(), and FILE_paste(). |
|
Creating an array with various elements for the clickmenu entry
Definition at line 1377 of file alt_clickmenu.php. References t3lib_iconWorks::skinImg(). Referenced by DB_changeFlag(), DB_copycut(), DB_db_list(), DB_delete(), DB_edit(), DB_editAccess(), DB_editPageProperties(), DB_history(), DB_info(), DB_moveWizard(), DB_new(), DB_newWizard(), DB_paste(), DB_perms(), DB_tempMountPoint(), DB_view(), dragDrop_copymovefolder(), dragDrop_copymovepage(), FILE_copycut(), FILE_delete(), FILE_launch(), and FILE_paste(). |
|
Traverses the menuItems and generates an output array for implosion in the CM div-layers table.
-tags
Definition at line 1263 of file alt_clickmenu.php. Referenced by printLayerJScode(). |
|
Traverses the menuItems and generates an output array for implosion in the topframe horizontal menu
-tags
Definition at line 1246 of file alt_clickmenu.php. |
|
Make 1st level clickmenu:
Definition at line 254 of file alt_clickmenu.php. References DB_copycut(), DB_delete(), DB_edit(), DB_history(), DB_info(), DB_new(), DB_paste(), DB_view(), externalProcessingOfDBMenuItems(), t3lib_div::fixed_lgd_cs(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::getRecordWSOL(), printItems(), processingByExtClassArray(), and t3lib_iconWorks::skinImg(). Referenced by init(). |
|
Make 1st level clickmenu:
Definition at line 1012 of file alt_clickmenu.php. References dragDrop_copymovefolder(), dragDrop_copymovepage(), externalProcessingOfDBMenuItems(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecordTitle(), printItems(), and processingByExtClassArray(). Referenced by init(). |
|
Make 1st level clickmenu:
Definition at line 824 of file alt_clickmenu.php. References DB_info(), externalProcessingOfFileMenuItems(), FILE_copycut(), FILE_delete(), FILE_launch(), FILE_paste(), t3lib_BEfunc::getFileIcon(), t3lib_div::inList(), t3lib_div::isAllowedAbsPath(), printItems(), and processingByExtClassArray(). Referenced by init(). |
|
Prints the items from input $menuItems array - both as topframe menu AND the JS section for writing to the div-layers. Of course the topframe menu will appear only if $this->doDisplayTopFrameCM() returns true
Definition at line 1130 of file alt_clickmenu.php. References cleanUpSpacers(), doDisplayTopFrameCM(), enableDisableItems(), printLayerJScode(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(), printDragDropClickMenu(), printFileClickMenu(), and printNewDBLevel(). |
|
Create the JavaScript section
Definition at line 1182 of file alt_clickmenu.php. References doDisplayTopFrameCM(), isCMlayers(), menuItemsForClickMenu(), and wrapColorTableCM(). Referenced by printItems(). |
|
Make 2nd level clickmenu (only for DBmenus)
Definition at line 346 of file alt_clickmenu.php. References t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordWSOL(), printItems(), processingByExtClassArray(), and t3lib_iconWorks::skinImg(). Referenced by init(). |
|
Processing the $menuItems array by external classes (typ. adding items)
Definition at line 395 of file alt_clickmenu.php. References t3lib_div::makeInstance(). Referenced by printDBClickMenu(), printDragDropClickMenu(), printFileClickMenu(), and printNewDBLevel(). |
|
Returning JavaScript for the onClick event linking to the input URL.
Definition at line 414 of file alt_clickmenu.php. Referenced by DB_moveWizard(), and DB_newWizard(). |
|
Wrapping the input string in a table with background color 4 and a black border style. For the pop-up menu
Definition at line 1223 of file alt_clickmenu.php. Referenced by printLayerJScode(). |