Difference between #4 and #5 of
AutoTimestampBehavior

Revision #5 has been created by samdark on Aug 28, 2011, 2:24:12 AM with the memo:

added note about CTimestampBehavior
« previous (#4) next (#6) »

Changes

Title unchanged

AutoTimestampBehavior

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

> Note: currently a variant of this class `CTimestampBehavior` is included into Yii distribution package.
 
 
This behavior will automatically set timestamp fields to the row creation and modification times.


```php
<?php
class AutoTimestampBehavior extends CActiveRecordBehavior {
[...]
2 2
3 followers
Viewed: 14 946 times
Version: 1.1
Category: Tutorials
Tags:
Written by: jonah
Last updated by: Yang He
Created on: Feb 19, 2009
Last updated: 5 years ago
Update Article

Revisions

View all history