Translate\Adapter\Gettext::resetDomain

public resetDomain () Sets the default domain

Translate\Adapter\Gettext::query

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

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::getLocale

public getLocale ()

Translate\Adapter\Gettext::getDirectory

public getDirectory ()

Translate\Adapter\Gettext::getDefaultDomain

public getDefaultDomain ()

Translate\Adapter\Gettext::getCategory

public getCategory ()

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

Translate\Adapter\Csv::query

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