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
6f964b6d
Commit
6f964b6d
authored
Jan 28, 2012
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected phpdoc
parent
85e8ff20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ActiveRecord.php
framework/db/ar/ActiveRecord.php
+4
-4
No files found.
framework/db/ar/ActiveRecord.php
View file @
6f964b6d
...
@@ -1180,9 +1180,9 @@ abstract class ActiveRecord extends \yii\base\Model
...
@@ -1180,9 +1180,9 @@ abstract class ActiveRecord extends \yii\base\Model
/**
/**
* Creates an active record with the given attributes.
* Creates an active record with the given attributes.
* This method is internally used by the find methods.
* This method is internally used by the find methods.
*
@param array $attributes attribute values (column name=>column value)
*
* @param
boolean $callAfterFind whether to call {@link afterFind} after the record is populated.
* @param
array $row attribute values (column name=>column value)
*
This parameter is added in version 1.0.3.
*
* @return ActiveRecord the newly created active record. The class of the object is the same as the model class.
* @return ActiveRecord the newly created active record. The class of the object is the same as the model class.
* Null is returned if the input data is false.
* Null is returned if the input data is false.
*/
*/
...
@@ -1209,7 +1209,7 @@ abstract class ActiveRecord extends \yii\base\Model
...
@@ -1209,7 +1209,7 @@ abstract class ActiveRecord extends \yii\base\Model
* depends the attributes that are to be populated to the record.
* depends the attributes that are to be populated to the record.
* For example, by creating a record based on the value of a column,
* For example, by creating a record based on the value of a column,
* you may implement the so-called single-table inheritance mapping.
* you may implement the so-called single-table inheritance mapping.
* @param array $
attributes
list of attribute values for the active records.
* @param array $
row
list of attribute values for the active records.
* @return ActiveRecord the active record
* @return ActiveRecord the active record
*/
*/
protected
static
function
instantiate
(
$row
)
protected
static
function
instantiate
(
$row
)
...
...
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