Class **Phalcon\\Translate\\Adapter\\Csv** ========================================== *extends* abstract class :doc:`Phalcon\\Translate\\Adapter ` *implements* :doc:`Phalcon\\Translate\\AdapterInterface `, `ArrayAccess `_ .. role:: raw-html(raw) :format: html :raw-html:`Source on GitHub` Allows to define translation lists using CSV file Methods ------- public **__construct** (*array* $options) Phalcon\\Translate\\Adapter\\Csv constructor private **_load** (*string* $file, *int* $length, *string* $delimiter, *string* $enclosure) Load translates from file public **query** (*mixed* $index, [*mixed* $placeholders]) Returns the translation related to the given key public **exists** (*mixed* $index) Check whether is defined a translation key in the internal array public **setInterpolator** (:doc:`Phalcon\\Translate\\InterpolatorInterface ` $interpolator) inherited from :doc:`Phalcon\\Translate\\Adapter ` ... public *string* **t** (*string* $translateKey, [*array* $placeholders]) inherited from :doc:`Phalcon\\Translate\\Adapter ` Returns the translation string of the given key public *string* **_** (*string* $translateKey, [*array* $placeholders]) inherited from :doc:`Phalcon\\Translate\\Adapter ` Returns the translation string of the given key (alias of method 't') public **offsetSet** (*string* $offset, *string* $value) inherited from :doc:`Phalcon\\Translate\\Adapter ` Sets a translation value public **offsetExists** (*mixed* $translateKey) inherited from :doc:`Phalcon\\Translate\\Adapter ` Check whether a translation key exists public **offsetUnset** (*string* $offset) inherited from :doc:`Phalcon\\Translate\\Adapter ` Unsets a translation from the dictionary public *string* **offsetGet** (*string* $translateKey) inherited from :doc:`Phalcon\\Translate\\Adapter ` Returns the translation related to the given key protected **replacePlaceholders** (*mixed* $translation, [*mixed* $placeholders]) inherited from :doc:`Phalcon\\Translate\\Adapter ` Replaces placeholders by the values passed