lucee.Component contentbox.models.BaseEntityMethods
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- This is an abstract class that represents base entity methods. We created this due to the stupid bug in ACF 9-2016, where the mapped super class is not respected in table inheritance
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
private struct
|
getBaseMemento(array properties, [any excludes=''])
Build out property mementos. |
string
|
getDisplayCreatedDate()
Get formatted createdDate. |
string
|
getDisplayModifiedDate()
Get formatted modified date. |
boolean
|
isLoaded()
Verify if entity is loaded or not. |
void
|
preInsert()
|
void
|
preUpdate([struct oldData])
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Method Detail |
---|
Build out property mementos Date/Time objects are produced as UTC milliseconds since January 1, 1970 (Epoch)
properties
- The array properties to incorporate into the base mementoexcludes
- The properties to exclude from the mementoGet formatted createdDate
Get formatted modified date
Verify if entity is loaded or not
oldData