TYPO3 API  SVNRelease
Public Member Functions
tx_cms_webinfo_lang Class Reference
Inheritance diagram for tx_cms_webinfo_lang:
Inheritance graph
[legend]
Collaboration diagram for tx_cms_webinfo_lang:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 modMenu ()
 main ()
 renderL10nTable (&$tree)
 getSystemLanguages ()
 getLangStatus ($pageId, $langId)
 getContentElementCount ($pageId, $sysLang)

Detailed Description

Definition at line 59 of file class.tx_cms_webinfo_lang.php.


Member Function Documentation

tx_cms_webinfo_lang::getContentElementCount ( pageId,
sysLang 
)

Counting content elements for a single language on a page.

Parameters:
integerPage id to select for.
integerSys language uid
Returns:
integer Number of content elements from the PID where the language is set to a certain value.

Definition at line 385 of file class.tx_cms_webinfo_lang.php.

References $GLOBALS, t3lib_BEfunc\deleteClause(), and t3lib_BEfunc\versioningPlaceholderClause().

Referenced by renderL10nTable().

tx_cms_webinfo_lang::getLangStatus ( pageId,
langId 
)

Get an alternative language record for a specific page / language

Parameters:
integerPage ID to look up for.
integerLanguage UID to select for.
Returns:
array pages_languages_overlay record

Definition at line 356 of file class.tx_cms_webinfo_lang.php.

References $GLOBALS, $res, $row, t3lib_BEfunc\deleteClause(), t3lib_BEfunc\versioningPlaceholderClause(), and t3lib_BEfunc\workspaceOL().

Referenced by renderL10nTable().

tx_cms_webinfo_lang::getSystemLanguages ( )

Selects all system languages (from sys_language)

Returns:
array System language records in an array.

Definition at line 321 of file class.tx_cms_webinfo_lang.php.

References $GLOBALS, $res, $row, and t3lib_BEfunc\deleteClause().

Referenced by modMenu(), and renderL10nTable().

tx_cms_webinfo_lang::main ( )

MAIN function for page information of localization

Returns:
string Output HTML for the module.

Definition at line 96 of file class.tx_cms_webinfo_lang.php.

References $BACK_PATH, $GLOBALS, $SOBE, t3lib_BEfunc\cshItem(), t3lib_BEfunc\getFuncMenu(), t3lib_BEfunc\getRecordWSOL(), t3lib_iconWorks\getSpriteIconForRecord(), t3lib_div\makeInstance(), and renderL10nTable().

tx_cms_webinfo_lang::modMenu ( )

Returns the menu array

Returns:
array

Reimplemented from t3lib_extobjbase.

Definition at line 66 of file class.tx_cms_webinfo_lang.php.

References getSystemLanguages().

tx_cms_webinfo_lang::renderL10nTable ( &$  tree)

Rendering the localization information table.

Parameters:
arrayThe Page tree data
Returns:
string HTML for the localization information table.

Definition at line 144 of file class.tx_cms_webinfo_lang.php.

References $GLOBALS, $row, t3lib_BEfunc\editOnClick(), t3lib_div\fixed_lgd_cs(), getContentElementCount(), getLangStatus(), t3lib_BEfunc\getModTSconfig(), t3lib_iconWorks\getSpriteIcon(), t3lib_iconWorks\getSpriteIconForRecord(), getSystemLanguages(), t3lib_div\hideIfNotTranslated(), t3lib_div\trimExplode(), and t3lib_BEfunc\viewOnClick().

Referenced by main().


The documentation for this class was generated from the following file: