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
d3a450f5
Commit
d3a450f5
authored
Dec 15, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc fix.
parent
c79965ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Module.php
framework/yii/base/Module.php
+2
-2
AutoTimestamp.php
framework/yii/behaviors/AutoTimestamp.php
+1
-1
No files found.
framework/yii/base/Module.php
View file @
d3a450f5
...
...
@@ -166,8 +166,8 @@ abstract class Module extends Component
/**
* Initializes the module.
* This method is called after the module is created and initialized with property values
* given in configuration. The default implementation will c
reate a path alias using the module [[id]]
*
and then call [[preloadComponents()]] to
load components that are declared in [[preload]].
* given in configuration. The default implementation will c
all [[preloadComponents()]] to
* load components that are declared in [[preload]].
*
* If you override this method, please make sure you call the parent implementation.
*/
...
...
framework/yii/behaviors/AutoTimestamp.php
View file @
d3a450f5
...
...
@@ -39,7 +39,7 @@ class AutoTimestamp extends Behavior
/**
* @var array list of attributes that are to be automatically filled with timestamps.
* The array keys are the ActiveRecord events upon which the attributes are to be filled with timestamps,
* and the array values are the corresponding attribute to be updated. You can use a string to represent
* and the array values are the corresponding attribute
(s)
to be updated. You can use a string to represent
* a single attribute, or an array to represent a list of attributes.
* The default setting is to update the `create_time` attribute upon AR insertion,
* and update the `update_time` attribute upon AR updating.
...
...
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