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

Public Member Functions

 __construct ()
 
 main ()
 
 printContent ()
 
 initializeTemporaryDBmount ()
 
 settingTemporaryMountPoint ($pageId)
 
 ajaxExpandCollapse (ServerRequestInterface $request, ResponseInterface $response)
 

Public Attributes

 $content
 
 $pagetree
 
 $doc
 
 $active_tempMountPoint = 0
 
 $currentSubScript
 
 $cMR
 
 $setTempDBmount
 
 $template
 

Protected Member Functions

 init ()
 
 getButtons ()
 
 getWorkspaceInfo ()
 
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

 $iconFactory
 

Detailed Description

Main script class for the page tree navigation frame This is the class for rendering the "page tree" navigation frame without ExtJS, used prior to TYPO3 CMS 4.5. This functionality is deprecated since TYPO3 CMS 7, and will be removed with TYPO3 CMS 8

Definition at line 36 of file PageTreeNavigationController.php.

Constructor & Destructor Documentation

__construct ( )

Member Function Documentation

ajaxExpandCollapse ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Makes the AJAX call to expand or collapse the pagetree. Called by an AJAX Route, see AjaxRequestHandler

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 331 of file PageTreeNavigationController.php.

References $response, MessageInterface\getBody(), PageTreeNavigationController\init(), and ResponseInterface\withStatus().

getBackendUser ( )
protected
getButtons ( )
protected

Create the panel of buttons for submitting the form or otherwise perform operations.

Returns
array All available buttons as an assoc. array

Definition at line 232 of file PageTreeNavigationController.php.

References BackendUtility\cshItem(), GeneralUtility\getIndpEnv(), PageTreeNavigationController\getLanguageService(), GeneralUtility\quoteJSvalue(), and Icon\SIZE_SMALL.

Referenced by PageTreeNavigationController\main().

getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 349 of file PageTreeNavigationController.php.

References $GLOBALS.

Referenced by PageTreeNavigationController\getButtons(), and PageTreeNavigationController\main().

getWorkspaceInfo ( )
protected

Create the workspace information

Returns
string HTML containing workspace info

Definition at line 256 of file PageTreeNavigationController.php.

References PageTreeNavigationController\getBackendUser(), WorkspaceService\getWorkspaceTitle(), ExtensionManagementUtility\isLoaded(), and Icon\SIZE_SMALL.

Referenced by PageTreeNavigationController\main().

init ( )
protected
initializeTemporaryDBmount ( )
main ( )
printContent ( )

Outputting the accumulated content to screen

Returns
void

Definition at line 222 of file PageTreeNavigationController.php.

References PageTreeNavigationController\$content.

settingTemporaryMountPoint (   $pageId)

Setting temporary page id as DB mount

Parameters
int$pageIdThe page id to set as DB mount
Returns
void

Definition at line 313 of file PageTreeNavigationController.php.

References PageTreeNavigationController\getBackendUser().

Referenced by PageTreeNavigationController\initializeTemporaryDBmount().

Member Data Documentation

$active_tempMountPoint = 0

Definition at line 60 of file PageTreeNavigationController.php.

$cMR

Definition at line 70 of file PageTreeNavigationController.php.

$content
$currentSubScript

Definition at line 65 of file PageTreeNavigationController.php.

$doc

Definition at line 53 of file PageTreeNavigationController.php.

$iconFactory
protected

Definition at line 88 of file PageTreeNavigationController.php.

$pagetree

Definition at line 46 of file PageTreeNavigationController.php.

$setTempDBmount

Definition at line 77 of file PageTreeNavigationController.php.

$template

Definition at line 83 of file PageTreeNavigationController.php.