Arikaim CMS

DateUpdated

Set current time for date updated.

Change default date updated attribute protected $dateUpdatedColumn = 'db column name';

Table of Contents

Methods

bootDateUpdated()  : void
Set model events
getDateUpdatedAttributeName()  : string
Get date updated attribute
setDateUpdated()  : bool
Set date updated

Methods

bootDateUpdated()

Set model events

public static bootDateUpdated() : void

getDateUpdatedAttributeName()

Get date updated attribute

public getDateUpdatedAttributeName() : string
Return values
string

setDateUpdated()

Set date updated

public setDateUpdated([int|null $dateTime = null ]) : bool
Parameters
$dateTime : int|null = null
Return values
bool

        
On this page

Search results