Translate\Adapter\Gettext::nquery

public nquery (mixed $msgid1, mixed $msgid2, mixed $count, [mixed $placeholders], [mixed $domain]) The plural version of gettext(). Some languages have more than one form for plural messages dependent on the count.

Translate\Adapter\Gettext::setDefaultDomain

public setDefaultDomain (mixed $domain) Sets the domain default to search within when calls are made to gettext()

Translate\Adapter\Gettext::getLocale

public getLocale ()

Translate\Adapter\Gettext::setDomain

public setDomain (mixed $domain) Changes the current domain (i.e. the translation file)

Translate\Adapter\Gettext::getCategory

public getCategory ()

Translate\Adapter\Gettext::getDefaultDomain

public getDefaultDomain ()

Translate\Adapter\Csv::query

public query (mixed $index, [mixed $placeholders]) Returns the translation related to the given key

Translate\Adapter\Gettext::getDirectory

public getDirectory ()

Translate\Adapter\Gettext::exists

public exists (mixed $index) Check whether is defined a translation key in the internal array

Translate\Adapter\Gettext

extends abstract class Phalcon\Translate\Adapter implements Phalcon\Translate\AdapterInterface, ArrayAccess Source on GitHub Allows translate using gettext Methods public getDirectory () public getDefaultDomain () public getLocale () public getCategory () public __construct (array $options) Phalcon\Translate\Adapter\Gettext constructor public string query (string $index, [array $placeholders]) Returns the translation related to the given key public exists (mixed $index) Check whether is defined