phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Procedural File: module_lang.php

Source Location: /modules/module_lang.php

Page Details
Classes
Class Description
Languages The class that loads a language.
px_Locale Gives access to translations for date and time.
Includes
require_once ($pivotx_path.'includes/gettext.php') [line 19]
[ Top ]


Constants
PHP_GETTEXT  [line 20]

PHP_GETTEXT = 1

[ Top ]


Functions
getFilteredWords  [line 102]

void getFilteredWords( )

Returns the words to filtered for the current weblog/language as an array.



[ Top ]
lang  [line 128]

void lang( [ $a = ''], [ $b = ''], [ $c = '']  )
Parameters:
   $a: 
   $b: 
   $c: 


[ Top ]
translate  [line 29]

string translate( string $text, [string $domain = 'default']  )

Translates a string for a given domain.

Parameters:
string   $text: 
string   $domain: 


[ Top ]
_e  [line 61]

void _e( string $text, [string $domain = 'default']  )

Echos a translated string.

Parameters:
string   $text: 
string   $domain: 


[ Top ]
__  [line 50]

string __( string $text, [string $domain = 'default']  )

Returns a translated string.

Parameters:
string   $text: 
string   $domain: 


[ Top ]
__gettext  [line 73]

string __gettext( string $text, [string $domain = 'default']  )

Returns a translated string - alias of '__' to be consistent with the naming of '__ngettext'.

Parameters:
string   $text: 
string   $domain: 


[ Top ]
__ngettext  [line 86]

string __ngettext( string $single, string $plural, string $number, [string $domain = 'default']  )

Returns the plural form or a given domain.

Parameters:
string   $single: 
string   $plural: 
string   $number: 
string   $domain: 


[ Top ]


Documentation generated on Tue, 05 Sep 2017 01:06:07 +0200 by phpDocumentor 1.4.3