mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +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 $msg
|
||||
* @param string $category
|
||||
* @param integer $category
|
||||
* @param boolean $return
|
||||
* @return translated string if $return is false string will be echoed
|
||||
*/
|
||||
|
@ -1183,7 +1183,7 @@
|
|||
* @param string $singular
|
||||
* @param string $plural
|
||||
* @param integer $count
|
||||
* @param string $category
|
||||
* @param integer $category
|
||||
* @param boolean $return
|
||||
* @return plural form of translated string if $return is false string will be echoed
|
||||
*/
|
||||
|
@ -1212,12 +1212,12 @@
|
|||
* LC_MESSAGES 5
|
||||
* LC_ALL 6
|
||||
*
|
||||
* @param string $domain
|
||||
* @param string $msg
|
||||
* @param integer $category
|
||||
* @param string $return
|
||||
* @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')) {
|
||||
uses('i18n');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue