本文整理汇总了PHP中LanguageUtf8::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP LanguageUtf8::__construct方法的具体用法?PHP LanguageUtf8::__construct怎么用?PHP LanguageUtf8::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LanguageUtf8
的用法示例。
在下文中一共展示了LanguageUtf8::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
function __construct()
{
parent::__construct();
global $wgAllMessagesLv;
$this->mMessagesLv =& $wgAllMessagesLv;
global $wgMetaNamespace;
$this->mNamespaceNamesLv = array(NS_MEDIA => 'Media', NS_SPECIAL => 'Special', NS_MAIN => '', NS_TALK => 'Diskusija', NS_USER => 'Lietotājs', NS_USER_TALK => 'Lietotāja_diskusija', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $this->convertGrammar($wgMetaNamespace, 'ģenitīvs') . '_diskusija', NS_IMAGE => 'Attēls', NS_IMAGE_TALK => 'Attēla_diskusija', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'MediaWiki_diskusija', NS_TEMPLATE => 'Veidne', NS_TEMPLATE_TALK => 'Veidnes_diskusija', NS_HELP => 'Palīdzība', NS_HELP_TALK => 'Palīdzības_diskusija', NS_CATEGORY => 'Kategorija', NS_CATEGORY_TALK => 'Kategorijas_diskusija');
}
示例2: array
function __construct()
{
parent::__construct();
global $wgAllMessagesSk;
$this->mMessagesSk =& $wgAllMessagesSk;
global $wgMetaNamespace;
$this->mNamespaceNamesSk = array(NS_MEDIA => 'Médiá', NS_SPECIAL => 'Špeciálne', NS_MAIN => '', NS_TALK => 'Diskusia', NS_USER => 'Redaktor', NS_USER_TALK => 'Diskusia_s_redaktorom', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => 'Diskusia_k_' . $this->convertGrammar($wgMetaNamespace, 'datív'), NS_IMAGE => 'Obrázok', NS_IMAGE_TALK => 'Diskusia_k_obrázku', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'Diskusia_k_MediaWiki', NS_TEMPLATE => 'Šablóna', NS_TEMPLATE_TALK => 'Diskusia_k_šablóne', NS_HELP => 'Pomoc', NS_HELP_TALK => 'Diskusia_k_pomoci', NS_CATEGORY => 'Kategória', NS_CATEGORY_TALK => 'Diskusia_ku_kategórii');
}
示例3: array
function __construct()
{
parent::__construct();
global $wgAllMessagesJa;
$this->mMessagesJa =& $wgAllMessagesJa;
global $wgMetaNamespace;
$this->mNamespaceNamesJa = array(NS_MEDIA => "Media", NS_SPECIAL => "特別", NS_MAIN => "", NS_TALK => "ノート", NS_USER => "利用者", NS_USER_TALK => "利用者‐会話", NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => "{$wgMetaNamespace}‐ノート", NS_IMAGE => "画像", NS_IMAGE_TALK => "画像‐ノート", NS_MEDIAWIKI => "MediaWiki", NS_MEDIAWIKI_TALK => "MediaWiki‐ノート", NS_TEMPLATE => "Template", NS_TEMPLATE_TALK => "Template‐ノート", NS_HELP => "Help", NS_HELP_TALK => "Help‐ノート", NS_CATEGORY => "Category", NS_CATEGORY_TALK => "Category‐ノート");
}
示例4: array
function __construct()
{
parent::__construct();
global $wgAllMessagesOc;
$this->mMessagesOc =& $wgAllMessagesOc;
global $wgMetaNamespace;
$this->mNamespaceNamesOc = array(NS_SPECIAL => 'Especial', NS_MAIN => '', NS_TALK => 'Discutir', NS_USER => 'Utilisator', NS_USER_TALK => 'Discutida_Utilisator', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => 'Discutida_' . $wgMetaNamespace, NS_IMAGE => 'Imatge', NS_IMAGE_TALK => 'Discutida_Imatge', NS_MEDIAWIKI => 'Mediaòiqui', NS_MEDIAWIKI_TALK => 'Discutida_Mediaòiqui', NS_TEMPLATE => 'Modèl', NS_TEMPLATE_TALK => 'Discutida_Modèl', NS_HELP => 'Ajuda', NS_HELP_TALK => 'Discutida_Ajuda', NS_CATEGORY => 'Categoria', NS_CATEGORY_TALK => 'Discutida_Categoria');
}
示例5: array
function __construct()
{
parent::__construct();
global $wgAllMessagesPa;
$this->mMessagesPa =& $wgAllMessagesPa;
global $wgMetaNamespace;
$this->mNamespaceNamesPa = array(NS_MEDIA => 'ਮੀਡੀਆ', NS_SPECIAL => 'ਖਾਸ', NS_MAIN => '', NS_TALK => 'ਚਰਚਾ', NS_USER => 'ਮੈਂਬਰ', NS_USER_TALK => 'ਮੈਂਬਰ_ਚਰਚਾ', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace . '_ਚਰਚਾ', NS_IMAGE => 'ਤਸਵੀਰ', NS_IMAGE_TALK => 'ਤਸਵੀਰ_ਚਰਚਾ', NS_MEDIAWIKI => 'ਮੀਡੀਆਵਿਕਿ', NS_MEDIAWIKI_TALK => 'ਮੀਡੀਆਵਿਕਿ_ਚਰਚਾ', NS_TEMPLATE => 'ਨਮੂਨਾ', NS_TEMPLATE_TALK => 'ਨਮੂਨਾ_ਚਰਚਾ', NS_HELP => 'ਮਦਦ', NS_HELP_TALK => 'ਮਦਦ_ਚਰਚਾ', NS_CATEGORY => 'ਸ਼੍ਰੇਣੀ', NS_CATEGORY_TALK => 'ਸ਼੍ਰੇਣੀ_ਚਰਚਾ');
}
示例6: array
/**
* Constructor, setting the namespaces
*/
function __construct()
{
parent::__construct();
global $wgAllMessagesHe;
$this->mMessagesHe =& $wgAllMessagesHe;
global $wgMetaNamespace;
$this->mNamespaceNamesHe = array(NS_MEDIA => "מדיה", NS_SPECIAL => "מיוחד", NS_MAIN => "", NS_TALK => "שיחה", NS_USER => "משתמש", NS_USER_TALK => "שיחת_משתמש", NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => "שיחת_" . $wgMetaNamespace, NS_IMAGE => "תמונה", NS_IMAGE_TALK => "שיחת_תמונה", NS_MEDIAWIKI => "מדיה_ויקי", NS_MEDIAWIKI_TALK => "שיחת_מדיה_ויקי", NS_TEMPLATE => "תבנית", NS_TEMPLATE_TALK => "שיחת_תבנית", NS_HELP => "עזרה", NS_HELP_TALK => "שיחת_עזרה", NS_CATEGORY => "קטגוריה", NS_CATEGORY_TALK => "שיחת_קטגוריה");
}
示例7: array
function __construct()
{
parent::__construct();
global $wgAllMessagesMk;
$this->mMessagesMk =& $wgAllMessagesMk;
global $wgMetaNamespace;
$this->mNamespaceNamesMk = array(NS_MEDIA => 'Медија', NS_SPECIAL => 'Специјални', NS_MAIN => '', NS_TALK => 'Разговор', NS_USER => 'Корисник', NS_USER_TALK => 'Разговор_со_корисник', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => 'Разговор_за_' . $wgMetaNamespace, NS_IMAGE => 'Слика', NS_IMAGE_TALK => 'Разговор_за_слика', NS_MEDIAWIKI => 'МедијаВики', NS_MEDIAWIKI_TALK => 'Разговор_за_МедијаВики', NS_TEMPLATE => 'Шаблон', NS_TEMPLATE_TALK => 'Разговор_за_шаблон', NS_HELP => 'Помош', NS_HELP_TALK => 'Разговор_за_помош', NS_CATEGORY => 'Категорија', NS_CATEGORY_TALK => 'Разговор_за_категорија');
}
示例8: array
function __construct()
{
parent::__construct();
global $wgAllMessagesGa;
$this->mMessagesGa =& $wgAllMessagesGa;
global $wgMetaNamespace;
$this->mNamespaceNamesGa = array(NS_MEDIA => 'Meán', NS_SPECIAL => 'Speisialta', NS_MAIN => '', NS_TALK => 'Plé', NS_USER => 'Úsáideoir', NS_USER_TALK => 'Plé_úsáideora', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => 'Plé_' . $this->convertGrammar($wgMetaNamespace, 'genitive'), NS_IMAGE => 'Íomhá', NS_IMAGE_TALK => 'Plé_íomhá', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'Plé_MediaWiki', NS_TEMPLATE => 'Teimpléad', NS_TEMPLATE_TALK => 'Plé_teimpléid', NS_HELP => 'Cabhair', NS_HELP_TALK => 'Plé_cabhrach', NS_CATEGORY => 'Catagóir', NS_CATEGORY_TALK => 'Plé_catagóire');
}
示例9: array
function __construct()
{
parent::__construct();
global $wgAllMessagesRo;
$this->mMessagesRo =& $wgAllMessagesRo;
global $wgMetaNamespace;
$this->mNamespaceNamesRo = array(NS_MEDIA => 'Media', NS_SPECIAL => 'Special', NS_MAIN => '', NS_TALK => 'Discuţie', NS_USER => 'Utilizator', NS_USER_TALK => 'Discuţie_Utilizator', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => 'Discuţie_' . $wgMetaNamespace, NS_IMAGE => 'Imagine', NS_IMAGE_TALK => 'Discuţie_Imagine', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'Discuţie_MediaWiki', NS_TEMPLATE => 'Format', NS_TEMPLATE_TALK => 'Discuţie_Format', NS_HELP => 'Ajutor', NS_HELP_TALK => 'Discuţie_Ajutor', NS_CATEGORY => 'Categorie', NS_CATEGORY_TALK => 'Discuţie_Categorie');
}
示例10: array
function __construct()
{
parent::__construct();
global $wgAllMessagesAz;
$this->mMessagesAz =& $wgAllMessagesAz;
global $wgMetaNamespace;
$this->mNamespaceNamesAz = array(NS_MEDIA => 'Mediya', NS_SPECIAL => 'Xüsusi', NS_MAIN => '', NS_TALK => 'Müzakirə', NS_USER => 'İstifadəçi', NS_USER_TALK => 'İstifadəçi_müzakirəsi', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace . '_müzakirəsi', NS_IMAGE => 'Şəkil', NS_IMAGE_TALK => 'Şəkil_müzakirəsi', NS_MEDIAWIKI => 'MediyaViki', NS_MEDIAWIKI_TALK => 'MediyaViki_müzakirəsi', NS_TEMPLATE => 'Şablon', NS_TEMPLATE_TALK => 'Şablon_müzakirəsi', NS_HELP => 'Kömək', NS_HELP_TALK => 'Kömək_müzakirəsi', NS_CATEGORY => 'Kateqoriya', NS_CATEGORY_TALK => 'Kateqoriya_müzakirəsi');
}
示例11: array
function __construct()
{
parent::__construct();
global $wgAllMessagesNds;
$this->mMessagesNds =& $wgAllMessagesNds;
global $wgMetaNamespace;
$this->mNamespaceNamesNds = array(NS_MEDIA => 'Media', NS_SPECIAL => 'Spezial', NS_MAIN => '', NS_TALK => 'Diskuschoon', NS_USER => 'Bruker', NS_USER_TALK => 'Bruker_Diskuschoon', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace . '_Diskuschoon', NS_IMAGE => 'Bild', NS_IMAGE_TALK => 'Bild_Diskuschoon', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'MediaWiki_Diskuschoon', NS_TEMPLATE => 'Vörlaag', NS_TEMPLATE_TALK => 'Vörlaag_Diskuschoon', NS_HELP => 'Hülp', NS_HELP_TALK => 'Hülp_Diskuschoon', NS_CATEGORY => 'Kategorie', NS_CATEGORY_TALK => 'Kategorie_Diskuschoon');
}
示例12: array
function __construct()
{
parent::__construct();
global $wgAllMessagesIa;
$this->mMessagesIa =& $wgAllMessagesIa;
global $wgMetaNamespace;
$this->mNamespaceNamesIa = array(NS_MEDIA => 'Media', NS_SPECIAL => 'Special', NS_MAIN => '', NS_TALK => 'Discussion', NS_USER => 'Usator', NS_USER_TALK => 'Discussion_Usator', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => 'Discussion_' . $wgMetaNamespace, NS_IMAGE => 'Imagine', NS_IMAGE_TALK => 'Discussion_Imagine', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'Discussion_MediaWiki', NS_TEMPLATE => 'Patrono', NS_TEMPLATE_TALK => 'Discussion_Patrono', NS_HELP => 'Adjuta', NS_HELP_TALK => 'Discussion_Adjuta', NS_CATEGORY => 'Categoria', NS_CATEGORY_TALK => 'Discussion_Categoria');
}
示例13: array
function __construct()
{
parent::__construct();
global $wgAllMessagesLt;
$this->mMessagesLt =& $wgAllMessagesLt;
global $wgMetaNamespace;
$this->mNamespaceNamesLt = array(NS_MEDIA => 'Medija', NS_SPECIAL => 'Specialus', NS_MAIN => '', NS_TALK => 'Aptarimas', NS_USER => 'Naudotojas', NS_USER_TALK => 'Naudotojo_aptarimas', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace . '_aptarimas', NS_IMAGE => 'Vaizdas', NS_IMAGE_TALK => 'Vaizdo_aptarimas', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'MediaWiki_aptarimas', NS_TEMPLATE => 'Šablonas', NS_TEMPLATE_TALK => 'Šablono_aptarimas', NS_HELP => 'Pagalba', NS_HELP_TALK => 'Pagalbos_aptarimas', NS_CATEGORY => 'Kategorija', NS_CATEGORY_TALK => 'Kategorijos_aptarimas');
}
示例14: array
function __construct()
{
parent::__construct();
global $wgAllMessagesEu;
$this->mMessagesEu =& $wgAllMessagesEu;
global $wgMetaNamespace;
$this->mNamespaceNamesEu = array(NS_MEDIA => 'Media', NS_SPECIAL => 'Aparteko', NS_MAIN => '', NS_TALK => 'Eztabaida', NS_USER => 'Lankide', NS_USER_TALK => 'Lankide_eztabaida', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace . '_eztabaida', NS_IMAGE => 'Irudi', NS_IMAGE_TALK => 'Irudi_eztabaida', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'MediaWiki_eztabaida', NS_TEMPLATE => 'Txantiloi', NS_TEMPLATE_TALK => 'Txantiloi_eztabaida', NS_CATEGORY => 'Kategoria', NS_CATEGORY_TALK => 'Kategoria_eztabaida');
}
示例15: array
function __construct()
{
parent::__construct();
global $wgAllMessagesBs;
$this->mMessagesBs =& $wgAllMessagesBs;
global $wgMetaNamespace;
$this->mNamespaceNamesBs = array(NS_MEDIA => 'Medija', NS_SPECIAL => 'Posebno', NS_MAIN => '', NS_TALK => 'Razgovor', NS_USER => 'Korisnik', NS_USER_TALK => 'Razgovor_sa_korisnikom', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => 'Razgovor_' . str_replace(' ', '_', $this->convertGrammar($wgMetaNamespace, 'instrumental')), NS_IMAGE => 'Slika', NS_IMAGE_TALK => 'Razgovor_o_slici', NS_MEDIAWIKI => 'MedijaViki', NS_MEDIAWIKI_TALK => 'Razgovor_o_MedijaVikiju', NS_TEMPLATE => 'Šablon', NS_TEMPLATE_TALK => 'Razgovor_o_šablonu', NS_HELP => 'Pomoć', NS_HELP_TALK => 'Razgovor_o_pomoći', NS_CATEGORY => 'Kategorija', NS_CATEGORY_TALK => 'Razgovor_o_kategoriji');
}