"TYPO3 4.0.1: tx_cms_webinfo_lang Class Reference", "datetime" => "Sat Dec 2 19:27:03 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

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)
 getLocalizedElementInfo ($pageId, $sysLang)
 getContentElementCount ($pageId, $sysLang)

Detailed Description

Definition at line 66 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:
integer Page id to select for.
integer Sys language uid
Returns:
integer Number of content elements from the PID where the language is set to a certain value.

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

References t3lib_BEfunc::deleteClause(), and t3lib_BEfunc::versioningPlaceholderClause().

tx_cms_webinfo_lang::getLangStatus pageId,
langId
 

Get an alternative language record for a specific page / language

Parameters:
integer Page ID to look up for.
integer Language UID to select for.
Returns:
array pages_languages_overlay record

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

References t3lib_BEfunc::deleteClause(), t3lib_BEfunc::versioningPlaceholderClause(), and t3lib_BEfunc::workspaceOL().

Referenced by renderL10nTable().

tx_cms_webinfo_lang::getLocalizedElementInfo pageId,
sysLang
 

Counting content elements for a single language on a page.

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

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

References t3lib_BEfunc::deleteClause(), t3lib_BEfunc::versioningPlaceholderClause(), and t3lib_div::view_array().

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 342 of file class.tx_cms_webinfo_lang.php.

References 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 102 of file class.tx_cms_webinfo_lang.php.

References t3lib_BEfunc::cshItem(), t3lib_BEfunc::getFuncCheck(), t3lib_BEfunc::getFuncMenu(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecordWSOL(), t3lib_div::makeInstance(), and renderL10nTable().

tx_cms_webinfo_lang::modMenu  ) 
 

Returns the menu array

Returns:
array

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

References getSystemLanguages().

tx_cms_webinfo_lang::renderL10nTable &$  tree  ) 
 

Rendering the localization information table.

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

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

References t3lib_div::fixed_lgd_cs(), t3lib_iconWorks::getIconImage(), getLangStatus(), getLocalizedElementInfo(), getSystemLanguages(), and t3lib_div::hideIfNotTranslated().

Referenced by main().


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