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.
public setDefaultDomain (mixed $domain) Sets the domain default to search within when calls are made to gettext()
public getLocale ()
public setDomain (mixed $domain) Changes the current domain (i.e. the translation file)
public getCategory ()
public getDefaultDomain ()
public query (mixed $index, [mixed $placeholders]) Returns the translation related to the given key
public getDirectory ()
public exists (mixed $index) Check whether is defined a translation key in the internal array
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
Page 17 of 382