Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
5860599e
Commit
5860599e
authored
Nov 02, 2013
by
Alexander Mohorev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PhpDoc comment
parent
18fbd751
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
QueryBuilder.php
framework/yii/db/sqlite/QueryBuilder.php
+1
-0
GettextMoFile.php
framework/yii/i18n/GettextMoFile.php
+2
-0
No files found.
framework/yii/db/sqlite/QueryBuilder.php
View file @
5860599e
...
@@ -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
=
''
)
...
...
framework/yii/i18n/GettextMoFile.php
View file @
5860599e
...
@@ -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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment