Browse Source

"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

phpnut 19 years ago
parent
commit
3758445e8a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      cake/basics.php

+ 4 - 4
cake/basics.php

@@ -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');
 		}