Функция __
Возвращает переведенную строку, если она найдена; в противном случае, переданное сообщение.
Ссылка: http://book.cakephp.org/3.0/ru/core-libraries/global-constants-and-functions.html#__
Авторские права: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Лицензия: MIT License
Расположено в I18n/functions.php
Авторские права: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Лицензия: MIT License
Расположено в I18n/functions.php
__( string $singular mixed $args null )
Краткое описание параметров
string | $singular | Текст для перевода. |
mixed | $args = null | Массив с аргументами или несколько аргументов в функции. |
Возвращаемое значение
-
string|nullПереведенный текст или null, если недействителен.
© 2005–2016 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.
http://api.cakephp.org/3.2/function-__.html