SearchTable Of ContentsPrevious topicClass Phalcon\Translate\Adapter Next topicClass Phalcon\Translate\Exception This Page |
Class Phalcon\Translate\Adapter\NativeArray¶extends Phalcon\Translate\Adapter implements ArrayAccess, Phalcon\Translate\AdapterInterface Allows to define translation lists using PHP arrays Methods¶public __construct (unknown $options) Phalcon\Translate\Adapter\NativeArray constructor public string query (string $index, array $placeholders) Returns the translation related to the given key public bool exists (string $index) Check whether is defined a translation key in the internal array public string _ (string $translateKey, array $placeholders) inherited from Phalcon\Translate\Adapter Returns the translation string of the given key public offsetSet (string $offset, string $value) inherited from Phalcon\Translate\Adapter Sets a translation value public boolean offsetExists (string $translateKey) inherited from Phalcon\Translate\Adapter Check whether a translation key exists public offsetUnset (string $offset) inherited from Phalcon\Translate\Adapter Elimina un indice del diccionario public string offsetGet (string $traslateKey) inherited from Phalcon\Translate\Adapter Returns the translation related to the given key |