Commit 5860599e by Alexander Mohorev

PhpDoc comment

parent 18fbd751
...@@ -80,6 +80,7 @@ class QueryBuilder extends \yii\db\QueryBuilder ...@@ -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 = '')
......
...@@ -54,6 +54,7 @@ class GettextMoFile extends GettextFile ...@@ -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 ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment