TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\ElementBrowser\ElementBrowserHookInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\ElementBrowser\ElementBrowserHookInterface:
t3lib_browseLinksHook

Public Member Functions

 init ($parentObject, $additionalParameters)
 
 addAllowedItems ($currentlyAllowedItems)
 
 modifyMenuDefinition ($menuDefinition)
 
 getTab ($linkSelectorAction)
 
 parseCurrentUrl ($href, $siteUrl, $info)
 

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! Interface for classes which hook into browse_links

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 21 of file ElementBrowserHookInterface.php.

Member Function Documentation

◆ addAllowedItems()

TYPO3\CMS\Core\ElementBrowser\ElementBrowserHookInterface::addAllowedItems (   $currentlyAllowedItems)

Adds new items to the currently allowed ones and returns them

Parameters
arrayCurrently allowed items
Returns
array Currently allowed items plus added items

◆ getTab()

TYPO3\CMS\Core\ElementBrowser\ElementBrowserHookInterface::getTab (   $linkSelectorAction)

Returns a new tab for the browse links wizard

Parameters
stringCurrent link selector action
Returns
string A tab for the selected link action

◆ init()

TYPO3\CMS\Core\ElementBrowser\ElementBrowserHookInterface::init (   $parentObject,
  $additionalParameters 
)

Initializes the hook object

Parameters

◆ modifyMenuDefinition()

TYPO3\CMS\Core\ElementBrowser\ElementBrowserHookInterface::modifyMenuDefinition (   $menuDefinition)

Modifies the menu definition and returns it

Parameters
arrayMenu definition
Returns
array Modified menu definition

◆ parseCurrentUrl()

TYPO3\CMS\Core\ElementBrowser\ElementBrowserHookInterface::parseCurrentUrl (   $href,
  $siteUrl,
  $info 
)

Checks the current URL and determines what to do

Parameters
string$href
string$siteUrl
array$info
Returns
array