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
c3eb4d92
Commit
c3eb4d92
authored
Nov 29, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created BaseActiveRecord
parent
14994809
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
ActiveRecord.php
framework/yii/db/ActiveRecord.php
+0
-0
ActiveRecordInterface.php
framework/yii/db/ActiveRecordInterface.php
+9
-0
BaseActiveRecord.php
framework/yii/db/BaseActiveRecord.php
+0
-0
No files found.
framework/yii/db/ActiveRecord.php
View file @
c3eb4d92
This diff is collapsed.
Click to expand it.
framework/yii/db/ActiveRecordInterface.php
View file @
c3eb4d92
...
@@ -93,6 +93,15 @@ interface ActiveRecordInterface
...
@@ -93,6 +93,15 @@ interface ActiveRecordInterface
public
static
function
find
(
$q
=
null
);
public
static
function
find
(
$q
=
null
);
/**
/**
* Creates an [[ActiveQueryInterface|ActiveQuery]] instance.
* This method is called by [[find()]] to start a SELECT query.
* You may override this method to return a customized query (e.g. `CustomerQuery` specified
* written for querying `Customer` purpose.)
* @return ActiveQueryInterface the newly created [[ActiveQueryInterface|ActiveQuery]] instance.
*/
public
static
function
createQuery
();
/**
* Updates records using the provided attribute values and conditions.
* Updates records using the provided attribute values and conditions.
* For example, to change the status to be 1 for all customers whose status is 2:
* For example, to change the status to be 1 for all customers whose status is 2:
*
*
...
...
framework/yii/db/BaseActiveRecord.php
0 → 100644
View file @
c3eb4d92
This diff is collapsed.
Click to expand it.
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