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
e27c3872
Commit
e27c3872
authored
Jan 28, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc improvements
parent
abceccfd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
14 deletions
+11
-14
BaseYii.php
framework/BaseYii.php
+2
-2
QueryBuilder.php
framework/db/QueryBuilder.php
+8
-8
QueryInterface.php
framework/db/QueryInterface.php
+0
-3
QueryTrait.php
framework/db/QueryTrait.php
+1
-1
No files found.
framework/BaseYii.php
View file @
e27c3872
...
...
@@ -50,8 +50,8 @@ defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER', true);
/**
* BaseYii is the core helper class for the Yii framework.
*
* Do not use BaseYii directly. Instead, use its child class [[\Yii]] wh
ere
*
you can
customize methods of BaseYii.
* Do not use BaseYii directly. Instead, use its child class [[\Yii]] wh
ich you can replace to
* customize methods of BaseYii.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
...
...
framework/db/QueryBuilder.php
View file @
e27c3872
...
...
@@ -561,7 +561,7 @@ class QueryBuilder extends \yii\base\Object
* @param array $columns
* @param boolean $distinct
* @param string $selectOption
* @return string the SELECT clause built from [[
query
]].
* @return string the SELECT clause built from [[
Query::$select
]].
*/
public
function
buildSelect
(
$columns
,
$distinct
=
false
,
$selectOption
=
null
)
{
...
...
@@ -595,7 +595,7 @@ class QueryBuilder extends \yii\base\Object
/**
* @param array $tables
* @return string the FROM clause built from [[
query
]].
* @return string the FROM clause built from [[
Query::$from
]].
*/
public
function
buildFrom
(
$tables
)
{
...
...
@@ -623,7 +623,7 @@ class QueryBuilder extends \yii\base\Object
/**
* @param string|array $joins
* @param array $params the binding parameters to be populated
* @return string the JOIN clause built from [[
query
]].
* @return string the JOIN clause built from [[
Query::$join
]].
* @throws Exception if the $joins parameter is not in proper format
*/
public
function
buildJoin
(
$joins
,
&
$params
)
...
...
@@ -663,7 +663,7 @@ class QueryBuilder extends \yii\base\Object
/**
* @param string|array $condition
* @param array $params the binding parameters to be populated
* @return string the WHERE clause built from [[
query
]].
* @return string the WHERE clause built from [[
Query::$where
]].
*/
public
function
buildWhere
(
$condition
,
&
$params
)
{
...
...
@@ -683,7 +683,7 @@ class QueryBuilder extends \yii\base\Object
/**
* @param string|array $condition
* @param array $params the binding parameters to be populated
* @return string the HAVING clause built from [[
query
]].
* @return string the HAVING clause built from [[
Query::$having
]].
*/
public
function
buildHaving
(
$condition
,
&
$params
)
{
...
...
@@ -693,7 +693,7 @@ class QueryBuilder extends \yii\base\Object
/**
* @param array $columns
* @return string the ORDER BY clause built from [[
quer
y]].
* @return string the ORDER BY clause built from [[
Query::$orderB
y]].
*/
public
function
buildOrderBy
(
$columns
)
{
...
...
@@ -715,7 +715,7 @@ class QueryBuilder extends \yii\base\Object
/**
* @param integer $limit
* @param integer $offset
* @return string the LIMIT and OFFSET clauses built from [[
query
]].
* @return string the LIMIT and OFFSET clauses built from [[
Query::$limit
]].
*/
public
function
buildLimit
(
$limit
,
$offset
)
{
...
...
@@ -732,7 +732,7 @@ class QueryBuilder extends \yii\base\Object
/**
* @param array $unions
* @param array $params the binding parameters to be populated
* @return string the UNION clause built from [[
query
]].
* @return string the UNION clause built from [[
Query::$union
]].
*/
public
function
buildUnion
(
$unions
,
&
$params
)
{
...
...
framework/db/QueryInterface.php
View file @
e27c3872
...
...
@@ -16,9 +16,6 @@ namespace yii\db;
* Allows pagination via [[limit]] and [[offset]].
* Sorting is supported via [[orderBy]] and items can be limited to match some conditions using [[where]].
*
* By calling [[createCommand()]], we can get a [[Command]] instance which can be further
* used to perform/execute the DB query against a database.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
...
...
framework/db/QueryTrait.php
View file @
e27c3872
...
...
@@ -50,7 +50,7 @@ trait QueryTrait
/**
* @var string|callable $column the name of the column by which the query results should be indexed by.
* This can also be a callable (e.g. anonymous function) that returns the index value based on the given
* row data. For more details, see [[indexBy()]]. This property is only used by [[all()]].
* row data. For more details, see [[indexBy()]]. This property is only used by [[
QueryInterface::all()|
all()]].
*/
public
$indexBy
;
...
...
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