|
ContentBox Core API 1.5.7 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.model.ui.BaseWidget
contentbox.widgets.ContentStore
public class ContentStore
A widget that renders content store objects
Constructor Summary | |
---|---|
init(any controller)
|
Method Summary | |
---|---|
array |
getSlugList()
Return an array of slug lists, the @ignore annotation means the ContentBox widget editors do not use it only used internally |
any |
renderIt(string slug, [string defaultValue])
Renders a published ContentStore object, if no default value is used, this throws an exception |
Methods inherited from class coldbox.system.Plugin |
---|
getPluginDescription, getPluginName, getPluginVersion, getRequestCollection, getRequestContext, getpluginAuthor, getpluginAuthorURL, getpluginPath, setPluginDescription, setPluginName, setPluginVersion, setpluginAuthor, setpluginAuthorURL
|
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
$abort, $dump, $htmlhead, $include, $rethrow, $throw, addAsset, announceInterception, getColdboxOCM, getController, getDatasource, getDebugMode, getInterceptor, getMailService, getMailSettings, getMemento, getModel, getModuleSettings, getMyPlugin, getNewMail, getPlugin, getResource, getSetting, getSettingStructure, getSettingsBean, getValidationManager, getfwLocale, includeUDF, loadGlobalUDFLibraries, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setDebugMode, setNextEvent, setNextRoute, setSetting, setfwLocale, settingExists, validateModel
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(any controller)
controller
Method Detail |
---|
public array getSlugList()
public any renderIt(string slug, [string defaultValue])
renderIt
in class
BaseWidget
slug
- The content store slug to renderdefaultValue
- The string to show if the contentstore snippet does not exist
|
ContentBox Core API 1.5.7 | ||||
FRAMES |