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
a20f82dc
Commit
a20f82dc
authored
Sep 04, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #4919
parent
6c273229
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
BlameableBehavior.php
framework/behaviors/BlameableBehavior.php
+2
-2
TimestampBehavior.php
framework/behaviors/TimestampBehavior.php
+2
-2
UrlManager.php
framework/web/UrlManager.php
+1
-1
No files found.
framework/behaviors/BlameableBehavior.php
View file @
a20f82dc
...
...
@@ -54,12 +54,12 @@ class BlameableBehavior extends AttributeBehavior
{
/**
* @var string the attribute that will receive current user ID value
* Set this property to
be null
if you do not want to record the creator ID.
* Set this property to
false
if you do not want to record the creator ID.
*/
public
$createdByAttribute
=
'created_by'
;
/**
* @var string the attribute that will receive current user ID value
* Set this property to
be null
if you do not want to record the updater ID.
* Set this property to
false
if you do not want to record the updater ID.
*/
public
$updatedByAttribute
=
'updated_by'
;
/**
...
...
framework/behaviors/TimestampBehavior.php
View file @
a20f82dc
...
...
@@ -64,12 +64,12 @@ class TimestampBehavior extends AttributeBehavior
{
/**
* @var string the attribute that will receive timestamp value
* Set this property to
be null
if you do not want to record the creation time.
* Set this property to
false
if you do not want to record the creation time.
*/
public
$createdAtAttribute
=
'created_at'
;
/**
* @var string the attribute that will receive timestamp value.
* Set this property to
be null
if you do not want to record the update time.
* Set this property to
false
if you do not want to record the update time.
*/
public
$updatedAtAttribute
=
'updated_at'
;
/**
...
...
framework/web/UrlManager.php
View file @
a20f82dc
...
...
@@ -117,7 +117,7 @@ class UrlManager extends Component
*
* After the UrlManager object is created, if you want to change this property,
* you should only assign it with a cache object.
* Set this property to
null
if you do not want to cache the URL rules.
* Set this property to
false
if you do not want to cache the URL rules.
*/
public
$cache
=
'cache'
;
/**
...
...
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