mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
"Correcting doc comments in basics.php
Changed the params order for _ _c()." git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4231 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b05215eb9a
commit
3758445e8a
1 changed files with 4 additions and 4 deletions
|
@ -1145,7 +1145,7 @@
|
||||||
*
|
*
|
||||||
* @param string $domain
|
* @param string $domain
|
||||||
* @param string $msg
|
* @param string $msg
|
||||||
* @param string $category
|
* @param integer $category
|
||||||
* @param boolean $return
|
* @param boolean $return
|
||||||
* @return translated string if $return is false string will be echoed
|
* @return translated string if $return is false string will be echoed
|
||||||
*/
|
*/
|
||||||
|
@ -1183,7 +1183,7 @@
|
||||||
* @param string $singular
|
* @param string $singular
|
||||||
* @param string $plural
|
* @param string $plural
|
||||||
* @param integer $count
|
* @param integer $count
|
||||||
* @param string $category
|
* @param integer $category
|
||||||
* @param boolean $return
|
* @param boolean $return
|
||||||
* @return plural form of translated string if $return is false string will be echoed
|
* @return plural form of translated string if $return is false string will be echoed
|
||||||
*/
|
*/
|
||||||
|
@ -1212,12 +1212,12 @@
|
||||||
* LC_MESSAGES 5
|
* LC_MESSAGES 5
|
||||||
* LC_ALL 6
|
* LC_ALL 6
|
||||||
*
|
*
|
||||||
* @param string $domain
|
|
||||||
* @param string $msg
|
* @param string $msg
|
||||||
|
* @param integer $category
|
||||||
* @param string $return
|
* @param string $return
|
||||||
* @return translated string if $return is false string will be echoed
|
* @return translated string if $return is false string will be echoed
|
||||||
*/
|
*/
|
||||||
function __c($category, $msg, $return = false) {
|
function __c($msg, $category, $return = false) {
|
||||||
if(!class_exists('I18n')) {
|
if(!class_exists('I18n')) {
|
||||||
uses('i18n');
|
uses('i18n');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue