railo-context.Component
coldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.model.ui.BaseWidget
contentbox.widgets.RecentComments
A cool basic widget that shows N recent comments
| Constructor Summary | |
|---|---|
|
init([any controller])
|
|
| Method Summary | |
|---|---|
any
|
renderIt([numeric max='5'], [numeric maxChars='80'], [string title=''], [string titleLevel='2'])
Show n recent comments. |
| 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 |
|---|
Show n recent comments
renderIt
in class
BaseWidget
maxmaxChars - The maximum character length to show for comment contentstitle - An optional title to display using an H2 tag.titleLevel - The H{level} to use, by default we use H2