railo-context.Component
coldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.model.ui.BaseWidget
contentbox.widgets.Categories
A cool basic widget that shows our blog categories
| Constructor Summary | |
|---|---|
|
init([any controller])
|
|
| Method Summary | |
|---|---|
private any
|
buildDropDown([any categories], [any showPostCount])
|
private any
|
buildList([any categories], [any showPostCount])
|
any
|
renderIt([boolean dropdown='false'], [boolean showPostCount='true'], [string title=''], [string titleLevel='2'])
Show the blog categories. |
| 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 |
|---|
| $htmlhead, addAsset, announceInterception, getColdboxOCM, getController, getDatasource, getInstance, getInterceptor, getMemento, getModel, getModuleSettings, getMyPlugin, getPlugin, getSetting, getSettingStructure, includeUDF, loadGlobalUDFLibraries, locateDirectoryPath, locateFilePath, persistVariables, populateModel, renderExternalView, renderLayout, renderView, runEvent, setNextEvent, setSetting, settingExists |
| Methods inherited from class railo-context.Component |
|---|
| None |
| Constructor Detail |
|---|
controller| Method Detail |
|---|
categoriesshowPostCountcategoriesshowPostCountShow the blog categories
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