railo-context.Component
contentbox.model.content.Category
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. I content category
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
category
|
true
|
false
|
|
any
|
categoryID
|
true
|
false
|
|
array
|
content
|
true
|
false
|
|
any
|
numberOfEntries
|
true
|
false
|
|
any
|
numberOfPages
|
true
|
false
|
|
any
|
slug
|
true
|
false
|
|
| Method Summary | |
|---|---|
any
|
addContent(any content)
|
string
|
getCategory()
|
string
|
getCategoryID()
|
string
|
getContent()
|
any
|
getMemento()
Get memento representation. |
string
|
getNumberOfEntries()
|
string
|
getNumberOfPages()
|
string
|
getSlug()
|
boolean
|
hasContent([any content])
|
boolean
|
isLoaded()
is loaded?. |
Category
|
removeAllContent()
|
boolean
|
removeContent(any content)
|
any
|
setCategory(any category)
|
any
|
setContent(array content)
|
any
|
setNumberOfEntries(any numberOfEntries)
|
any
|
setNumberOfPages(any numberOfPages)
|
any
|
setSlug(any slug)
|
| Methods inherited from class railo-context.Component |
|---|
| None |
| Property Detail |
|---|
required - falsenotnull - truelength - 200serializable - truerequired - falsefieldtype - idgenerator - nativeserializable - truesetter - nolinktable - cb_contentCategoriesrequired - falsefieldtype - many-to-manycascade - allfkcolumn - FK_categoryIDserializable - trueinversejoincolumn - FK_contentIDcfc - contentbox.model.content.BaseContentlazy - extrarequired - falseformula - 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 - truerequired - falseformula - 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 - trueunique - truerequired - falsenotnull - trueindex - idx_sluglength - 200serializable - true| Method Detail |
|---|
contentGet memento representation
contentis loaded?
contentcategorycontentnumberOfEntriesnumberOfPagesslug