Browse Source

PhpDoc comment

tags/2.0.0-beta
Alexander Mohorev 11 years ago
parent
commit
5860599ef7
  1. 1
      framework/yii/db/sqlite/QueryBuilder.php
  2. 2
      framework/yii/i18n/GettextMoFile.php

1
framework/yii/db/sqlite/QueryBuilder.php

@ -80,6 +80,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
* @param boolean $check whether to turn on or off the integrity check. * @param boolean $check whether to turn on or off the integrity check.
* @param string $schema the schema of the tables. Meaningless for SQLite. * @param string $schema the schema of the tables. Meaningless for SQLite.
* @param string $table the table name. Meaningless for SQLite. * @param string $table the table name. Meaningless for SQLite.
* @return string the SQL statement for checking integrity
* @throws NotSupportedException this is not supported by SQLite * @throws NotSupportedException this is not supported by SQLite
*/ */
public function checkIntegrity($check = true, $schema = '', $table = '') public function checkIntegrity($check = true, $schema = '', $table = '')

2
framework/yii/i18n/GettextMoFile.php

@ -54,6 +54,7 @@ class GettextMoFile extends GettextFile
* @param string $context message context * @param string $context message context
* @return array message translations. Array keys are source messages and array values are translated messages: * @return array message translations. Array keys are source messages and array values are translated messages:
* source message => translated message. * source message => translated message.
* @throws Exception if unable to read the MO file
*/ */
public function load($filePath, $context) public function load($filePath, $context)
{ {
@ -128,6 +129,7 @@ class GettextMoFile extends GettextFile
* @param array $messages message translations. Array keys are source messages and array values are * @param array $messages message translations. Array keys are source messages and array values are
* translated messages: source message => translated message. Note if the message has a context, * translated messages: source message => translated message. Note if the message has a context,
* the message ID must be prefixed with the context with chr(4) as the separator. * the message ID must be prefixed with the context with chr(4) as the separator.
* @throws Exception if unable to save the MO file
*/ */
public function save($filePath, $messages) public function save($filePath, $messages)
{ {

Loading…
Cancel
Save