W3cubDocs

/Phalcon 2

Interface Phalcon\Translate\AdapterInterface

Phalcon\Translate\AdapterInterface initializer

Methods

abstract public string query (string $index, [array $placeholders])

Returns the translation related to the given key

abstract public bool exists (string $index)

Check whether is defined a translation key in the internal array

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Translate_AdapterInterface.html