lucee.Component contentbox.models.BaseEntityMethods contentbox.models.BaseEntity contentbox.models.content.Category
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I content category
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
category
|
true
|
false
|
|
any
|
categoryID
|
true
|
false
|
|
any
|
categoryService
|
true
|
false
|
|
date
|
createdDate
|
true
|
false
|
|
any
|
isDeleted
|
false
|
true
|
false
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
numberOfEntries
|
true
|
false
|
|
any
|
numberOfPages
|
true
|
false
|
|
any
|
slug
|
true
|
false
|
Method Summary | |
---|---|
string
|
getCategory()
|
string
|
getCategoryID()
|
string
|
getCategoryService()
|
struct
|
getMemento([any excludes=''])
Get memento representation. |
string
|
getNumberOfEntries()
|
string
|
getNumberOfPages()
|
string
|
getSlug()
|
any
|
setCategory(any category)
|
any
|
setCategoryService(any categoryService)
|
any
|
setNumberOfEntries(any numberOfEntries)
|
any
|
setNumberOfPages(any numberOfPages)
|
any
|
setSlug(any slug)
|
Methods inherited from class contentbox.models.BaseEntity |
---|
getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate |
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, init, isLoaded, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anynotnull
- truelength
- 200serializable
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anyparams
- { allocationSize = 1, sequence = 'categoryID_seq' }generator
- nativeserializable
- truesetter
- noaccess
- publicrequired
- falsereturntype
- anyinject
- categoryService@cbpersistent
- falseserializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampupdate
- falseindex
- idx_createDateserializable
- trueaccess
- publicrequired
- falsedbdefault
- 0returntype
- anynotnull
- trueormtype
- booleanindex
- idx_deletedserializable
- truesqltype
- bitaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampindex
- idx_modifiedDateserializable
- trueaccess
- publicrequired
- falsereturntype
- anyformula
- select count(*)
from cb_contentCategories as contentCategories, cb_entry as entry, cb_content as content
where contentCategories.FK_categoryID=categoryID
and contentCategories.FK_contentID = entry.contentID
and entry.contentID = content.contentID
and content.isPublished = 1serializable
- trueaccess
- publicrequired
- falsereturntype
- anyformula
- select count(*)
from cb_contentCategories as contentCategories, cb_page as page, cb_content as content
where contentCategories.FK_categoryID=categoryID
and contentCategories.FK_contentID = page.contentID
and page.contentID = content.contentID
and content.isPublished = 1serializable
- trueaccess
- publicunique
- truerequired
- falsereturntype
- anynotnull
- trueindex
- idx_categorySluglength
- 200serializable
- trueMethod Detail |
---|
Get memento representation
excludes
category
categoryService
numberOfEntries
numberOfPages
slug