railo-context.Componentcontentbox.model.content.Category
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp 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
|
|
any
|
categoryService
|
true
|
false
|
|
any
|
numberOfEntries
|
true
|
false
|
|
any
|
numberOfPages
|
true
|
false
|
|
any
|
slug
|
true
|
false
|
Method Summary | |
---|---|
string
|
getCategory()
|
string
|
getCategoryID()
|
string
|
getCategoryService()
|
any
|
getMemento()
Get memento representation. |
string
|
getNumberOfEntries()
|
string
|
getNumberOfPages()
|
string
|
getSlug()
|
boolean
|
isLoaded()
is loaded?. |
any
|
setCategory(any category)
|
any
|
setCategoryService(any categoryService)
|
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
- norequired
- falseinject
- categoryService@cbpersistent
- falseserializable
- truerequired
- 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
- trueMethod Detail |
---|
Get memento representation
is loaded?
category
categoryService
numberOfEntries
numberOfPages
slug