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
b8e31d50
Commit
b8e31d50
authored
Nov 13, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed AR trait classes
parent
3130aadb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
ActiveQueryTrait.php
framework/yii/ar/ActiveQueryTrait.php
+1
-1
ActiveRelationTrait.php
framework/yii/ar/ActiveRelationTrait.php
+1
-1
ActiveQuery.php
framework/yii/db/ActiveQuery.php
+1
-1
ActiveRelation.php
framework/yii/db/ActiveRelation.php
+1
-1
Query.php
framework/yii/db/Query.php
+1
-1
QueryTrait.php
framework/yii/db/QueryTrait.php
+1
-1
No files found.
framework/yii/ar/ActiveQuery.php
→
framework/yii/ar/ActiveQuery
Trait
.php
View file @
b8e31d50
...
...
@@ -42,7 +42,7 @@ use yii\db\ActiveRecord;
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
*/
trait
ActiveQuery
trait
ActiveQuery
Trait
{
/**
* @var string the name of the ActiveRecord class.
...
...
framework/yii/ar/ActiveRelation.php
→
framework/yii/ar/ActiveRelation
Trait
.php
View file @
b8e31d50
...
...
@@ -25,7 +25,7 @@ use yii\db\ActiveRecord;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
trait
ActiveRelation
trait
ActiveRelation
Trait
{
/**
* @var boolean whether this relation should populate all query results into AR instances.
...
...
framework/yii/db/ActiveQuery.php
View file @
b8e31d50
...
...
@@ -46,7 +46,7 @@ namespace yii\db;
*/
class
ActiveQuery
extends
Query
{
use
\yii\ar\ActiveQuery
;
use
\yii\ar\ActiveQuery
Trait
;
/**
* @var string the SQL statement to be executed for retrieving AR records.
...
...
framework/yii/db/ActiveRelation.php
View file @
b8e31d50
...
...
@@ -28,7 +28,7 @@ namespace yii\db;
*/
class
ActiveRelation
extends
ActiveQuery
{
use
\yii\ar\ActiveRelation
;
use
\yii\ar\ActiveRelation
Trait
;
/**
* Specifies the pivot table.
...
...
framework/yii/db/Query.php
View file @
b8e31d50
...
...
@@ -37,7 +37,7 @@ use yii\base\Component;
*/
class
Query
extends
Component
{
use
BaseQuery
;
use
QueryTrait
;
/**
* Sort ascending
...
...
framework/yii/db/
BaseQuery
.php
→
framework/yii/db/
QueryTrait
.php
View file @
b8e31d50
...
...
@@ -33,7 +33,7 @@ const SORT_DESC = true;
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
*/
trait
BaseQuery
trait
QueryTrait
{
/**
* @var string|array query condition. This refers to the WHERE clause in a SQL statement.
...
...
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