lucee.Component coldbox.system.FrameworkSupertype contentbox.models.ui.BaseWidget contentbox.widgets.RecentEntries
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A cool basic widget that shows N recent entries
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
array
|
getAllCategories()
Get all the categories. |
any
|
renderIt([numeric max='5'], [any title=''], [string titleLevel='2'], [string category=''], [string searchTerm=''], [string sortOrder='Most Recent'])
Show n recent entries with some cool orderings. |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
addAsset, announceInterception, getCache, getController, getInstance, getInterceptor, getModel, getModuleConfig, getModuleSettings, getMyPlugin, getPlugin, getRenderer, getRequestCollection, getRequestContext, getSetting, getSettingStructure, includeUDF, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setController, setNextEvent, setSetting, settingExists |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Method Detail |
---|
Get all the categories
Show n recent entries with some cool orderings
renderIt
in class
BaseWidget
max
- The number of recent entries to show. By default it shows 5title
- An optional title to display using an H2 tag.titleLevel
- The H{level} to use, by default we use H2category
- The list of categories to filter onsearchTerm
- The search term to filter onsortOrder
- How to order the results, defaults to publishedDate