railo-context.Componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.model.ui.BaseWidget
contentbox.widgets.RecentPages
A cool basic widget that shows N recent pages
Constructor Summary | |
---|---|
init(any controller)
Constructor. |
Method Summary | |
---|---|
array
|
getAllCategories()
Get all the categories. |
any
|
renderIt([numeric max='5'], [string title=''], [string titleLevel='2'], [string category=''], [string searchTerm=''], [string sortOrder='Most Recent'])
Show n recent pages with some cool orderings. |
Methods inherited from class coldbox.system.Plugin |
---|
getpluginAuthor, getpluginAuthorURL, getPluginDescription, getPluginName, getpluginPath, getPluginVersion, getRequestCollection, getRequestContext, setpluginAuthor, setpluginAuthorURL, setPluginDescription, setPluginName, setPluginVersion |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
addAsset, announceInterception, getCache, getController, getDatasource, getInstance, getInterceptor, getModel, getModuleConfig, getModuleSettings, getMyPlugin, getPlugin, getRenderer, getSetting, getSettingStructure, includeUDF, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populateModel, renderExternalView, renderLayout, renderView, runEvent, setController, setNextEvent, setSetting, settingExists |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
controller
Method Detail |
---|
Get all the categories
Show n recent pages with some cool orderings
renderIt
in class
BaseWidget
max
- The number of recent pages 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