Php/docs/function.dcgettext

来自菜鸟教程
跳转至:导航、​搜索

dcgettext

(PHP 4, PHP 5, PHP 7)

dcgettextOverrides the domain for a single lookup


说明

dcgettext ( string $domain , string $message , int $category ) : string

This function allows you to override the current domain for a single message lookup.


参数

domain
The domain
message
The message
category
The category


返回值

A string on success.


参见

  • gettext() - Lookup a message in the current domain