TYPO3
7.6
|
Public Member Functions | |
__construct () | |
modMenu () | |
main () | |
renderL10nTable (&$tree) | |
getSystemLanguages () | |
getLangStatus ($pageId, $langId) | |
getContentElementCount ($pageId, $sysLang) | |
Public Member Functions inherited from AbstractFunctionModule | |
init (&$pObj, $conf) | |
handleExternalFunctionValue () | |
incLocalLang () | |
checkExtObj () | |
extObjContent () | |
modMenu () | |
Protected Member Functions | |
getLanguageService () | |
getDatabaseConnection () | |
getBackendUser () | |
Protected Member Functions inherited from AbstractFunctionModule | |
getLanguageService () | |
getBackendUserAuthentication () | |
getDocumentTemplate () | |
getBackPath () | |
getDatabaseConnection () | |
getPageRenderer () | |
Protected Attributes | |
$iconFactory | |
Protected Attributes inherited from AbstractFunctionModule | |
$pageRenderer = null | |
Additional Inherited Members | |
Public Attributes inherited from AbstractFunctionModule | |
$pObj | |
$extObj = null | |
$thisPath = '' | |
$localLangFile = 'locallang.xlf' | |
$extClassConf | |
$function_key = '' | |
Class for displaying translation status of pages in the tree.
Definition at line 27 of file TranslationStatusController.php.
__construct | ( | ) |
Construct for initialize class variables
Definition at line 37 of file TranslationStatusController.php.
References GeneralUtility\makeInstance().
|
protected |
Returns the current BE user.
Definition at line 413 of file TranslationStatusController.php.
References $GLOBALS.
Referenced by TranslationStatusController\getSystemLanguages(), TranslationStatusController\main(), and TranslationStatusController\renderL10nTable().
getContentElementCount | ( | $pageId, | |
$sysLang | |||
) |
Counting content elements for a single language on a page.
int | $pageId | Page id to select for. |
int | $sysLang | Sys language uid |
Definition at line 382 of file TranslationStatusController.php.
References BackendUtility\deleteClause(), TranslationStatusController\getDatabaseConnection(), and BackendUtility\versioningPlaceholderClause().
Referenced by TranslationStatusController\renderL10nTable().
|
protected |
Returns the database connection
Definition at line 403 of file TranslationStatusController.php.
References $GLOBALS.
Referenced by TranslationStatusController\getContentElementCount(), TranslationStatusController\getLangStatus(), and TranslationStatusController\getSystemLanguages().
getLangStatus | ( | $pageId, | |
$langId | |||
) |
Get an alternative language record for a specific page / language
int | $pageId | Page ID to look up for. |
int | $langId | Language UID to select for. |
Definition at line 356 of file TranslationStatusController.php.
References $GLOBALS, BackendUtility\deleteClause(), TranslationStatusController\getDatabaseConnection(), BackendUtility\versioningPlaceholderClause(), and BackendUtility\workspaceOL().
Referenced by TranslationStatusController\renderL10nTable().
|
protected |
Returns LanguageService
Definition at line 393 of file TranslationStatusController.php.
References $GLOBALS.
Referenced by TranslationStatusController\main(), TranslationStatusController\modMenu(), and TranslationStatusController\renderL10nTable().
getSystemLanguages | ( | ) |
Selects all system languages (from sys_language)
Definition at line 329 of file TranslationStatusController.php.
References BackendUtility\deleteClause(), TranslationStatusController\getBackendUser(), and TranslationStatusController\getDatabaseConnection().
Referenced by TranslationStatusController\modMenu(), and TranslationStatusController\renderL10nTable().
main | ( | ) |
MAIN function for page information of localization
Definition at line 76 of file TranslationStatusController.php.
References BackendUtility\cshItem(), TranslationStatusController\getBackendUser(), BackendUtility\getDropdownMenu(), TranslationStatusController\getLanguageService(), BackendUtility\getRecordWSOL(), GeneralUtility\makeInstance(), TranslationStatusController\renderL10nTable(), and Icon\SIZE_SMALL.
modMenu | ( | ) |
Returns the menu array
Definition at line 47 of file TranslationStatusController.php.
References $lang, TranslationStatusController\getLanguageService(), and TranslationStatusController\getSystemLanguages().
renderL10nTable | ( | & | $tree | ) |
Rendering the localization information table.
array | $tree | The Page tree data |
Definition at line 119 of file TranslationStatusController.php.
References $lang, BackendUtility\editOnClick(), GeneralUtility\fixed_lgd_cs(), TranslationStatusController\getBackendUser(), TranslationStatusController\getContentElementCount(), GeneralUtility\getIndpEnv(), TranslationStatusController\getLangStatus(), TranslationStatusController\getLanguageService(), BackendUtility\getModTSconfig(), TranslationStatusController\getSystemLanguages(), GeneralUtility\hideIfNotTranslated(), GeneralUtility\quoteJSvalue(), Icon\SIZE_SMALL, GeneralUtility\trimExplode(), BackendUtility\viewOnClick(), and BackendUtility\wrapClickMenuOnIcon().
Referenced by TranslationStatusController\main().
|
protected |
Definition at line 32 of file TranslationStatusController.php.