TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\Controller\TranslationStatusController Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Controller\TranslationStatusController:
TYPO3\CMS\Backend\Module\AbstractFunctionModule

Public Member Functions

 __construct ()
 
 modMenu ()
 
 main ()
 
 renderL10nTable (&$tree)
 
 getSystemLanguages ()
 
 getLangStatus ($pageId, $langId)
 
 getContentElementCount ($pageId, $sysLang)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 init (&$pObj, $conf)
 
 handleExternalFunctionValue ()
 
 incLocalLang ()
 
 checkExtObj ()
 
 extObjContent ()
 
 modMenu ()
 

Protected Member Functions

 getLanguageService ()
 
 getDatabaseConnection ()
 
 getBackendUser ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 getLanguageService ()
 
 getBackendUserAuthentication ()
 
 getDocumentTemplate ()
 
 getBackPath ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 $pageRenderer = null
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 $pObj
 
 $extObj = null
 
 $thisPath = ''
 
 $localLangFile = 'locallang.xlf'
 
 $extClassConf
 
 $function_key = ''
 

Detailed Description

Class for displaying translation status of pages in the tree.

Definition at line 27 of file TranslationStatusController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Controller\TranslationStatusController::__construct ( )

Construct for initialize class variables

Definition at line 37 of file TranslationStatusController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Function Documentation

◆ getBackendUser()

TYPO3\CMS\Frontend\Controller\TranslationStatusController::getBackendUser ( )
protected

◆ getContentElementCount()

TYPO3\CMS\Frontend\Controller\TranslationStatusController::getContentElementCount (   $pageId,
  $sysLang 
)

Counting content elements for a single language on a page.

Parameters
int$pageIdPage id to select for.
int$sysLangSys language uid
Returns
int Number of content elements from the PID where the language is set to a certain value.

Definition at line 382 of file TranslationStatusController.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\deleteClause(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getDatabaseConnection(), and TYPO3\CMS\Backend\Utility\BackendUtility\versioningPlaceholderClause().

Referenced by TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable().

◆ getDatabaseConnection()

TYPO3\CMS\Frontend\Controller\TranslationStatusController::getDatabaseConnection ( )
protected

◆ getLangStatus()

TYPO3\CMS\Frontend\Controller\TranslationStatusController::getLangStatus (   $pageId,
  $langId 
)

Get an alternative language record for a specific page / language

Parameters
int$pageIdPage ID to look up for.
int$langIdLanguage UID to select for.
Returns
array pages_languages_overlay record

Definition at line 356 of file TranslationStatusController.php.

References $GLOBALS, TYPO3\CMS\Backend\Utility\BackendUtility\deleteClause(), TYPO3\CMS\Frontend\Controller\TranslationStatusController\getDatabaseConnection(), TYPO3\CMS\Backend\Utility\BackendUtility\versioningPlaceholderClause(), and TYPO3\CMS\Backend\Utility\BackendUtility\workspaceOL().

Referenced by TYPO3\CMS\Frontend\Controller\TranslationStatusController\renderL10nTable().

◆ getLanguageService()

TYPO3\CMS\Frontend\Controller\TranslationStatusController::getLanguageService ( )
protected

◆ getSystemLanguages()

◆ main()

◆ modMenu()

TYPO3\CMS\Frontend\Controller\TranslationStatusController::modMenu ( )

◆ renderL10nTable()

Member Data Documentation

◆ $iconFactory

TYPO3\CMS\Frontend\Controller\TranslationStatusController::$iconFactory
protected

Definition at line 32 of file TranslationStatusController.php.