ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Abstract class **Phalcon\Translate\Adapter**[](# "永久链接至标题") Base class for Phalcon\Translate adapters ### Methods[](# "永久链接至标题") public *string***t** (*string* $translateKey, [*array* $placeholders]) Returns the translation string of the given key public *string***_** (*string* $translateKey, [*array* $placeholders]) Returns the translation string of the given key (alias of method ‘t') public **offsetSet** (*string* $offset, *string* $value) Sets a translation value public **offsetExists** (*unknown* $translateKey) Check whether a translation key exists public **offsetUnset** (*string* $offset) Unsets a translation from the dictionary public *string***offsetGet** (*string* $translateKey) Returns the translation related to the given key protected **replacePlaceholders** (*unknown* $translation, [*unknown* $placeholders]) Replaces placeholders by the values passed | - [索引](# "总目录") - [下一页](# "Class Phalcon\Translate\Adapter\Csv") | - [上一页](# "Abstract class Phalcon\Translate") | - [API Indice](#) »