Browse files

Merge pull request #467 from cebe/doc-enhancement

mention the CChoiceFormat param name in Yii::t doc
  • Loading branch information...
2 parents 18eac82 + 7562ac9 commit cf26225ab82dbaca1a60e72b6999d86d96e58296 Maurizio Domba committed Mar 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 framework/YiiBase.php
1 framework/YiiBase.php
@@ -557,6 +557,7 @@ public static function powered()
* an appropriate message translation.
* Starting from version 1.1.6 you can pass parameter for {@link CChoiceFormat::format}
* or plural forms format without wrapping it with array.
+ * This parameter is then available as <code>{n}</code> in the message translation string.
* @param string $source which message source application component to use.
* Defaults to null, meaning using 'coreMessages' for messages belonging to
* the 'yii' category and using 'messages' for the rest messages.

0 comments on commit cf26225

Please sign in to comment.