TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Impexp\Clickmenu Class Reference
Inheritance diagram for TYPO3\CMS\Impexp\Clickmenu:
tx_impexp_clickmenu

Public Member Functions

 main (&$backRef, $menuItems, $table, $uid)
 
 includeLL ()
 

Protected Member Functions

 getBackendUser ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Adding Import/Export clickmenu item

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 22 of file Clickmenu.php.

Member Function Documentation

◆ getBackendUser()

TYPO3\CMS\Impexp\Clickmenu::getBackendUser ( )
protected
Returns

Definition at line 89 of file Clickmenu.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Impexp\Clickmenu\main().

◆ includeLL()

TYPO3\CMS\Impexp\Clickmenu::includeLL ( )

Include local lang file and return $LOCAL_LANG array loaded.

Returns
array Local lang array
Todo:
Define visibility

Definition at line 81 of file Clickmenu.php.

Referenced by TYPO3\CMS\Impexp\Clickmenu\main().

◆ main()

TYPO3\CMS\Impexp\Clickmenu::main ( $backRef,
  $menuItems,
  $table,
  $uid 
)

Processing of clickmenu items

Parameters
object$backRefReference to parent
array$menuItemsMenu items array to modify
string$tableTable name
integer$uidUid of the record
Returns
array Menu item array, returned after modification
Todo:

Skinning for icons...

Define visibility

Definition at line 35 of file Clickmenu.php.

References $GLOBALS, $uid, TYPO3\CMS\Core\Utility\GeneralUtility\_GP(), TYPO3\CMS\Impexp\Clickmenu\getBackendUser(), TYPO3\CMS\Backend\Utility\BackendUtility\getModuleUrl(), and TYPO3\CMS\Impexp\Clickmenu\includeLL().