TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ClickMenuController Class Reference

Public Member Functions

 __construct ()
 
 main ()
 
 printContent ()
 
 getContextMenuAction (ServerRequestInterface $request, ResponseInterface $response)
 

Public Attributes

 $reloadListFrame
 
 $content = ''
 
 $doc
 
 $extClassArray = array()
 

Protected Member Functions

 init ()
 
 getLanguageService ()
 

Detailed Description

Script Class for the Context Sensitive Menu in TYPO3 (rendered in top frame, normally writing content dynamically to list frames).

See Also
::getContextMenuCode()

Definition at line 28 of file ClickMenuController.php.

Constructor & Destructor Documentation

__construct ( )

Member Function Documentation

getContextMenuAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

this is an intermediate clickmenu handler

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 137 of file ClickMenuController.php.

References ClickMenuController\$extClassArray, $response, GeneralUtility\_GET(), MessageInterface\getBody(), GeneralUtility\makeInstance(), and MessageInterface\withHeader().

getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 174 of file ClickMenuController.php.

References $GLOBALS.

Referenced by ClickMenuController\__construct().

init ( )
protected

Constructor function for script class.

Returns
void
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, all done in the constructor now

Definition at line 83 of file ClickMenuController.php.

References GeneralUtility\logDeprecatedFunction().

main ( )

Main function - generating the click menu in whatever form it has.

Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, as an AJAX Route is now the main entry point
Returns
void

Definition at line 94 of file ClickMenuController.php.

References ClickMenuController\$extClassArray, GeneralUtility\_GET(), GeneralUtility\logDeprecatedFunction(), and GeneralUtility\makeInstance().

printContent ( )

End page and output content.

Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, as an AJAX Route is now the main entry point
Returns
void

Definition at line 123 of file ClickMenuController.php.

References GeneralUtility\logDeprecatedFunction().

Member Data Documentation

$content = ''

Definition at line 43 of file ClickMenuController.php.

$doc

Definition at line 48 of file ClickMenuController.php.

$extClassArray = array()
$reloadListFrame

Definition at line 35 of file ClickMenuController.php.