Documentation TYPO3 par Ameos |
Public Member Functions | |
init ($item) | |
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_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) | |
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() | |
$elCount = 0 | |
$editPageIconSet = 0 | |
$editOK = 0 | |
$rec = array() |
Definition at line 128 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 1130 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 1278 of file alt_clickmenu.php. Referenced by printItems(). |
|
Adding CM element for a flag field of the input record
Definition at line 742 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 403 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for DBlist
Definition at line 507 of file alt_clickmenu.php. References $rec, excludeIcon(), t3lib_div::getIndpEnv(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for Delete
Definition at line 673 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(). |
|
Adding CM element for regular editing of the element!
Definition at line 606 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 570 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for edit page header
Definition at line 588 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for hide/unhide of the input record
Definition at line 727 of file alt_clickmenu.php. References $rec, DB_changeFlag(), and label(). |
|
Adding CM element for History
Definition at line 469 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for Info
Definition at line 453 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 526 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 648 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 547 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 432 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 488 of file alt_clickmenu.php. References excludeIcon(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding element for setting temporary mount point.
Definition at line 709 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). |
|
Adding CM element for View Page
Definition at line 694 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 203 of file alt_clickmenu.php. Referenced by printItems(), and printLayerJScode(). |
|
Enabling / Disabling items based on list provided from GET var ($this->iParts[3])
Definition at line 1240 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 1230 of file alt_clickmenu.php. Referenced by DB_changeFlag(), DB_copycut(), DB_db_list(), DB_delete(), DB_edit(), DB_editAccess(), DB_editPageHeader(), DB_history(), DB_info(), DB_moveWizard(), DB_new(), DB_newWizard(), DB_paste(), DB_perms(), DB_tempMountPoint(), DB_view(), FILE_copycut(), FILE_delete(), FILE_launch(), and FILE_paste(). |
|
Processing the $menuItems array (for extension classes) (DATABASE RECORDS)
Definition at line 355 of file alt_clickmenu.php. Referenced by printDBClickMenu(). |
|
Processing the $menuItems array (for extension classes) (FILES)
Definition at line 840 of file alt_clickmenu.php. Referenced by printFileClickMenu(). |
|
Returns element for copy or cut of files.
Definition at line 874 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 900 of file alt_clickmenu.php. References excludeIcon(), frameLocation(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printFileClickMenu(). |
|
Multi-function for adding an entry to the $menuItems array
Definition at line 854 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 922 of file alt_clickmenu.php. References excludeIcon(), label(), linkItem(), and t3lib_iconWorks::skinImg(). Referenced by printFileClickMenu(). |
|
Appends ".location" to input string
Definition at line 1339 of file alt_clickmenu.php. Referenced by DB_changeFlag(), DB_edit(), DB_paste(), FILE_delete(), and FILE_launch(). |
|
Initialize click menu
Definition at line 160 of file alt_clickmenu.php. References t3lib_div::_GP(), printDBClickMenu(), 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 1329 of file alt_clickmenu.php. Referenced by printLayerJScode(). |
|
Get label from locallang_core.php:cm.*
Definition at line 1320 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(), FILE_copycut(), FILE_delete(), FILE_launch(), and FILE_paste(). |
|
Creating an array with various elements for the clickmenu entry
Definition at line 1206 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_editPageHeader(), DB_history(), DB_info(), DB_moveWizard(), DB_new(), DB_newWizard(), DB_paste(), DB_perms(), DB_tempMountPoint(), DB_view(), 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 1092 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 1075 of file alt_clickmenu.php. |
|
Make 1st level clickmenu:
Definition at line 231 of file alt_clickmenu.php. References DB_copycut(), DB_delete(), DB_edit(), DB_info(), DB_new(), DB_paste(), DB_view(), externalProcessingOfDBMenuItems(), t3lib_div::fixed_lgd_cs(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordTitle(), printItems(), processingByExtClassArray(), and t3lib_iconWorks::skinImg(). Referenced by init(). |
|
Make 1st level clickmenu:
Definition at line 776 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 962 of file alt_clickmenu.php. References cleanUpSpacers(), doDisplayTopFrameCM(), enableDisableItems(), printLayerJScode(), and t3lib_iconWorks::skinImg(). Referenced by printDBClickMenu(), printFileClickMenu(), and printNewDBLevel(). |
|
Create the JavaScript section
Definition at line 1014 of file alt_clickmenu.php. References doDisplayTopFrameCM(), isCMlayers(), menuItemsForClickMenu(), and wrapColorTableCM(). Referenced by printItems(). |
|
Make 2nd level clickmenu (only for DBmenus)
Definition at line 318 of file alt_clickmenu.php. References t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecord(), printItems(), processingByExtClassArray(), and t3lib_iconWorks::skinImg(). Referenced by init(). |
|
Processing the $menuItems array by external classes (typ. adding items)
Definition at line 367 of file alt_clickmenu.php. References t3lib_div::makeInstance(). Referenced by printDBClickMenu(), printFileClickMenu(), and printNewDBLevel(). |
|
Returning JavaScript for the onClick event linking to the input URL.
Definition at line 386 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 1052 of file alt_clickmenu.php. Referenced by printLayerJScode(). |