Функция __
Возвращает переведённую строку, если она найдена; в противном случае, переданное сообщение.
Ссылка: https://book.cakephp.org/3.0/ru/core-libraries/global-constants-and-functions.html#__
Авторские права: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
Лицензия: MIT License
Расположено в I18n/functions.php
Авторские права: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
Лицензия: MIT License
Расположено в I18n/functions.php
__( string $singular ... $args )
Краткое описание параметров
string | $singular | Текст для перевода. |
... | $args | Массив $args с аргументами или несколькими аргументами в функции. |
Возвращаемое значение
-
string|nullПереведённый текст или null, если перевод невозможен.
© 2005–2018 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.5/function-__.html