Skip to content

Commit

Permalink
Merge pull request yiisoft#1598 from magefad/master
Browse files Browse the repository at this point in the history
[ci skip] Fixed spelling mistakes in CTimestampBehavior
  • Loading branch information
samdark committed Oct 24, 2012
2 parents 5d3d8a2 + 555c964 commit a66a569
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/zii/behaviors/CTimestampBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/

/**
* CTimestampBehavior will automatically fill date and time related atributes.
* CTimestampBehavior will automatically fill date and time related attributes.
*
* CTimestampBehavior will automatically fill date and time related atributes when the active record
* CTimestampBehavior will automatically fill date and time related attributes when the active record
* is created and/or upadated.
* You may specify an active record model to use this behavior like so:
* <pre>
Expand Down Expand Up @@ -43,12 +43,12 @@
class CTimestampBehavior extends CActiveRecordBehavior {
/**
* @var mixed The name of the attribute to store the creation time. Set to null to not
* use a timstamp for the creation attribute. Defaults to 'create_time'
* use a timestamp for the creation attribute. Defaults to 'create_time'
*/
public $createAttribute = 'create_time';
/**
* @var mixed The name of the attribute to store the modification time. Set to null to not
* use a timstamp for the update attribute. Defaults to 'update_time'
* use a timestamp for the update attribute. Defaults to 'update_time'
*/
public $updateAttribute = 'update_time';

Expand Down

0 comments on commit a66a569

Please sign in to comment.