Documentation TYPO3 par Ameos

tx_cms_webinfo_lang Class Reference

Inheritance diagram for tx_cms_webinfo_lang:
[legend]
Collaboration diagram for tx_cms_webinfo_lang:
[legend]
List of all members.

Public Member Functions

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

Detailed Description

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


Member Function Documentation

tx_cms_webinfo_lang::modMenu (  ) 

Returns the menu array

Returns:
array

Reimplemented from t3lib_extobjbase.

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

References getSystemLanguages().

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::getFuncMenu(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecordWSOL(), t3lib_div::makeInstance(), and renderL10nTable().

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

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

Referenced by main().

tx_cms_webinfo_lang::getSystemLanguages (  ) 

Selects all system languages (from sys_language)

Returns:
array System language records in an array.

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

References t3lib_BEfunc::deleteClause().

Referenced by modMenu(), and renderL10nTable().

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 361 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::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 390 of file class.tx_cms_webinfo_lang.php.

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


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


Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6