TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ProcessAvailableActionsViewHelper Class Reference
Inheritance diagram for ProcessAvailableActionsViewHelper:
AbstractTagBasedViewHelper AbstractViewHelper

Public Member Functions

 injectSignalSlotDispatcher (\TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher)
 
 initializeArguments ()
 
 render ()
 
- Public Member Functions inherited from AbstractTagBasedViewHelper
 __construct ()
 
 initializeArguments ()
 
 initialize ()
 
- Public Member Functions inherited from AbstractViewHelper
 setRenderingContext (\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 prepareArguments ()
 

Public Attributes

const SIGNAL_ProcessActions = 'processActions'
 

Protected Member Functions

 emitProcessActionsSignal ($extension, array $actions)
 
- Protected Member Functions inherited from AbstractTagBasedViewHelper
 registerTagAttribute ($name, $type, $description, $required=false, $default=null)
 
 registerUniversalTagAttributes ()
 
- Protected Member Functions inherited from AbstractViewHelper
 callRenderMethod ()
 
 getLogger ()
 
 registerRenderMethodArguments ()
 

Protected Attributes

 $signalSlotDispatcher
 
- Protected Attributes inherited from AbstractTagBasedViewHelper
 $tagName = 'div'
 
 $tag
 
 $escapeOutput = false
 
- Protected Attributes inherited from AbstractViewHelper
 $controllerContext
 
 $objectManager
 

Detailed Description

View helper to let 3rd-party extensions process the list of available actions for a given extension.

Definition at line 22 of file ProcessAvailableActionsViewHelper.php.

Member Function Documentation

emitProcessActionsSignal (   $extension,
array  $actions 
)
protected

Emits a signal after the list of actions is processed

Parameters
string$extension
array$actions
Returns
array Modified action array

Definition at line 71 of file ProcessAvailableActionsViewHelper.php.

Referenced by ProcessAvailableActionsViewHelper\render().

initializeArguments ( )

Initialize arguments

Definition at line 42 of file ProcessAvailableActionsViewHelper.php.

injectSignalSlotDispatcher ( \TYPO3\CMS\Extbase\SignalSlot\Dispatcher  $signalSlotDispatcher)
Parameters
\TYPO3\CMS\Extbase\SignalSlot\Dispatcher$signalSlotDispatcher

Definition at line 34 of file ProcessAvailableActionsViewHelper.php.

References ProcessAvailableActionsViewHelper\$signalSlotDispatcher.

render ( )

Processes the list of actions.

Returns
string the rendered list of actions

Definition at line 53 of file ProcessAvailableActionsViewHelper.php.

References ProcessAvailableActionsViewHelper\emitProcessActionsSignal().

Member Data Documentation

$signalSlotDispatcher
protected
const SIGNAL_ProcessActions = 'processActions'

Definition at line 24 of file ProcessAvailableActionsViewHelper.php.