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