lucee.Componentcontentbox.models.BaseEntityMethods
contentbox.models.BaseEntity
contentbox.models.system.Setting
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a system setting. A system setting can be core or non-core. The difference is that core settings cannot be deleted from the geek settings UI to prevent caos. Admins would have to remove core settings via the DB only as a precautionary measure.
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
date
|
createdDate
|
true
|
false
|
|
any
|
isCore
|
false
|
true
|
false
|
any
|
isDeleted
|
false
|
true
|
false
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
name
|
true
|
false
|
|
any
|
settingID
|
true
|
false
|
|
any
|
site
|
true
|
false
|
|
any
|
value
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
string
|
getIsCore()
|
string
|
getName()
|
string
|
getSettingID()
|
string
|
getSite()
|
any
|
getSiteID()
Shortcut to get the site id associated with this setting. |
struct
|
getSiteSnapshot()
Build a site snapshot. |
string
|
getValue()
|
boolean
|
hasSite([any site])
|
any
|
setIsCore(any isCore)
|
any
|
setName(any name)
|
any
|
setSettingID(any settingID)
|
any
|
setSite(any site)
|
any
|
setValue(any value)
|
Methods inherited from class contentbox.models.BaseEntity |
---|
getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate |
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, isLoaded, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anycolumn
- createdDatenotnull
- trueormtype
- timestampupdate
- falsepersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isCorenotnull
- trueormtype
- booleanindex
- idx_coreserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isDeletednotnull
- trueormtype
- booleanpersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- modifiedDatenotnull
- trueormtype
- timestamppersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- namenotnull
- truelength
- 100serializable
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anycolumn
- settingIDormtype
- stringupdate
- falsegenerator
- uuidlength
- 36serializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anynotnull
- falsefkcolumn
- FK_siteIDserializable
- truecfc
- contentbox.models.system.Sitelazy
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- valuenotnull
- trueormtype
- textserializable
- trueMethod Detail |
---|
Shortcut to get the site id associated with this setting
Build a site snapshot
site
isCore
name
settingID
site
value