Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
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
夏彬
yii2bootstrap
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
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1252 additions
and
1024 deletions
+1252
-1024
ActiveRecord.php
framework/yii/db/ActiveRecord.php
+14
-1024
ActiveRecordInterface.php
framework/yii/db/ActiveRecordInterface.php
+9
-0
BaseActiveRecord.php
framework/yii/db/BaseActiveRecord.php
+1229
-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
...
@@ -92,6 +92,15 @@ interface ActiveRecordInterface
...
@@ -92,6 +92,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