|
ContentBox Core API 1.5.7 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
contentbox.model.ui.BaseWidget
contentbox.widgets.SearchForm
public class SearchForm
This widget creates a simple ContentBox search form
Constructor Summary | |
---|---|
init([any controller])
|
Method Summary | |
---|---|
any |
renderIt([string type='content'], [string label='Search for'], [string title=''], [string titleLevel='2'], [string placeholder=''], [string querycss=''], [string buttoncss=''], [string formcss=''])
This widget creates a simple ContentBox search form |
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 any renderIt([string type='content'], [string label='Search for'], [string title=''], [string titleLevel='2'], [string placeholder=''], [string querycss=''], [string buttoncss=''], [string formcss=''])
renderIt
in class
BaseWidget
type
- The type of search form: content or blog, default is contentlabel
- The label to use, defaults to 'Search for:title
- The title to show before the dropdown or list, defaults to H2titleLevel
- The H{level} to use, by default we use H2placeholder
- Add a placeholder to the query textfieldquerycss
- The css classes of the textfield querybuttoncss
- The search button css classesformcss
- The form css classes
|
ContentBox Core API 1.5.7 | ||||
FRAMES |