|
|
@ -54,10 +54,12 @@ class BlameableBehavior extends AttributeBehavior |
|
|
|
{ |
|
|
|
{ |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @var string the attribute that will receive current user ID value |
|
|
|
* @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. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public $createdByAttribute = 'created_by'; |
|
|
|
public $createdByAttribute = 'created_by'; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @var string the attribute that will receive current user ID value |
|
|
|
* @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. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public $updatedByAttribute = 'updated_by'; |
|
|
|
public $updatedByAttribute = 'updated_by'; |
|
|
|
/** |
|
|
|
/** |
|
|
|