railo-context.Componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.model.ui.BaseWidget
contentbox.widgets.Archives
A cool basic widget that shows our blog archives
Constructor Summary | |
---|---|
init([any controller])
|
Method Summary | |
---|---|
private any
|
buildDropDown([any archives], [any showPostCount])
|
private any
|
buildList([any archives], [any showPostCount])
|
any
|
renderIt([boolean dropdown='false'], [boolean showPostCount='true'], [string title=''], [string titleLevel='2'])
Show the blog archives. |
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 |
---|
controller
Method Detail |
---|
archives
showPostCount
archives
showPostCount
Show the blog archives
renderIt
in class
BaseWidget
dropdown
- Display as a dropdown or a list, default is listshowPostCount
- Show post counts or not, default is truetitle
- The title to show before the dropdown or list, defaults to H2titleLevel
- The H{level} to use, by default we use H2