Site logo file
API
Search
Phoca.cz Main Site
Phoca Cart
Phoca Cart Demo
Search
Search
Advanced Search
Projects
Joomla
Phoca Cart
Phoca Gallery
Phoca Download
Classes
AbstractAES
AbstractEvent
AbstractEvent
AbstractEvent
AbstractEvent
AbstractGroupButton
AbstractImmutableEvent
AbstractMenu
AbstractModuleDispatcher
AbstractRenderer
AbstractView
Access
Access
AccessiblemediaField
AccesslevelField
ActionButton
ActionsDropdown
Adapter
AdapterInstance
AddUserCommand
AddUserToGroupCommand
AdminController
AdministratorApplication
AdministratorMenu
AdministratorMenuItem
AdministratorRouter
AdminLanguage
AdminModel
Aes
AesInterface
AfterBindEvent
AfterCheckinEvent
AfterCheckoutEvent
AfterDeleteEvent
AfterExtensionBootEvent
AfterHitEvent
AfterLoadEvent
AfterMoveEvent
AfterPublishEvent
AfterReorderEvent
AfterResetEvent
AfterStoreEvent
AliastagField
ApcuStorage
ApiApplication
ApiController
ApiDispatcher
ApiMVCFactory
ApiRouter
ApiRouter
Application
ApplicationHelper
Argon2idHandler
Argon2iHandler
Asset
AssociationExtensionHelper
AssociationExtensionInterface
Associations
AssociationServiceInterface
AssociationServiceTrait
AtomParser
AtomRenderer
Authentication
Authentication
AuthenticationFailed
AuthenticationFailedExceptionHandler
AuthenticationHelper
AuthenticationResponse
AuthorField
Backgroundfill
Base32
BaseApplication
BaseController
BaseDatabaseModel
BaseLayout
BaseModel
BasicButton
BCryptHandler
BeforeBatchEvent
BeforeBindEvent
BeforeCheckinEvent
BeforeCheckoutEvent
BeforeDeleteEvent
BeforeExtensionBootEvent
BeforeHitEvent
BeforeLoadEvent
BeforeMoveEvent
BeforePublishEvent
BeforeReorderEvent
BeforeResetEvent
BeforeStoreEvent
Behavior
BooleanRule
BootableExtensionInterface
Bootstrap
Brightness
Browser
BufferStreamHandler
Cache
CacheConnectingException
CacheController
CacheController
CacheControllerFactory
CacheControllerFactoryInterface
CacheExceptionInterface
CachehandlerField
CacheStorage
CacheStorageHelper
CachingLanguageFactory
CalendarField
CalendarRule
CallbackController
CallbackLogger
Captcha
CaptchaField
CaptchaRule
Categories
CategoriesView
Category
Category
CategoryFactory
CategoryFactory
CategoryFactoryInterface
CategoryFeedView
CategoryField
CategoryInterface
CategoryNode
CategoryServiceInterface
CategoryServiceTrait
CategoryView
ChainedHandler
ChangeItem
Changelog
ChangeSet
ChangeUserPasswordCommand
CheckboxesField
CheckboxField
CheckEvent
CheckIfRehashNeededHandlerInterface
CheckinCheckout
CheckinCheckoutExceptionHandler
CheckJoomlaUpdatesCommand
CheckUpdatesCommand
ChromestyleField
ClassLoader
CleanCacheCommand
Cli
CliApplication
ClientHelper
CliInput
CliOutput
CliRenderer
CMSApplication
CMSApplicationInterface
CMSHelper
CMSObject
CMSPlugin
CMSWebApplicationInterface
CollectionAdapter
ColorField
ColorProcessor
ColorRule
ColorStyle
ComboField
Component
ComponentAdapter
ComponentDispatcher
ComponentDispatcherFactory
ComponentDispatcherFactory
ComponentDispatcherFactoryInterface
ComponentHelper
ComponentInterface
ComponentlayoutField
ComponentRecord
ComponentRenderer
ComponentsField
Config
ConfirmButton
Console
ConsoleApplication
ContainerAwareToolbarFactory
Content
Content
ContentHelper
ContentHistory
ContenthistoryField
ContentLanguage
ContentlanguageField
ContentType
ContenttypeField
Contrast
ControllerInterface
Cookie
CoreAssetItem
CoreButtonsTrait
CoreContent
Crypt
CryptoCipher
CssIdentifierRule
CssIdentifierSubstringRule
CurlTransport
CustomButton
DaemonApplication
Database
DatabaseAwareTrait
DatabaseconnectionField
DatabaseLogger
DatabaseModelInterface
Date
Date
Debug
DelegatingPsrLogger
DeleteUserCommand
Dispatcher
Dispatcher
DispatcherInterface
DisplayEvent
Document
Document
DocumentRenderer
DownloadSource
DraggableList
Dropdown
DropdownButton
DummyPlugin
EchoLogger
Edgedetect
Editor
EditorField
Email
EmailField
EmailRule
Emboss
EqualsRule
ErrorDocument
ErrorEvent
EventAware
EventAwareInterface
ExceptionHandler
ExistsRule
Extension
ExtensionAdapter
ExtensionDiscoverCommand
ExtensionDiscoverInstallCommand
ExtensionDiscoverListCommand
ExtensionHelper
ExtensionInstallCommand
ExtensionManagerInterface
ExtensionManagerTrait
ExtensionNamespaceMapper
ExtensionRemoveCommand
ExtensionsListCommand
Factory
Factory
FactoryInterface
FeaturedButton
Feed
FeedDocument
FeedEnclosure
FeedEntry
FeedFactory
FeedImage
FeedItem
FeedLink
FeedParser
FeedPerson
FeedRenderer
FieldsServiceInterface
File
FileAdapter
FileField
FileLayout
FilelistField
FilePathRule
Files
FileStorage
FilesystemHelper
FinderIndexCommand
Folder
FolderlistField
FolderPathExistsRule
Form
Form
Form
FormattedtextLogger
FormBehavior
FormBehaviorTrait
FormController
FormFactory
FormFactoryAwareInterface
FormFactoryAwareTrait
FormFactoryInterface
FormField
FormFilterInterface
FormHelper
FormModel
FormModelInterface
FormRule
FormValidateAssetItem
FormView
FrontendlanguageField
FtpClient
GenericDataException
GenericEvent
GetConfigurationCommand
Grayscale
Grid
GroupedlistField
HeadertagField
HeadRenderer
Help
HelpButton
HelperFactory
HelperFactory
HelperFactoryInterface
HiddenField
HtmlDocument
HTMLHelper
HTMLRegistry
HTMLRegistryAwareTrait
HtmlRenderer
HtmlView
Http
HttpBridgePostRequestMethod
HttpFactory
Icons
IdentityAware
Image
ImageDocument
ImageFilter
ImagelistField
ImmutableNodeInterface
ImmutableNodeTrait
InlinehelpButton
InMemoryLogger
Input
InputFilter
Installer
InstallerAdapter
InstallerExtension
InstallerHelper
InstallerScript
IntarrayFilter
IntegerField
InvalidActionException
InvalidParameterExceptionHandler
InvalidRouteExceptionHandler
ItemModel
ItemModelInterface
ItunesRssParser
JGrid
JoomlaSerializer
JoomlaStorage
Jquery
Json
JsonapiDocument
JsonapiRenderer
JsonApiView
JsonDocument
JsonRenderer
JsonResponse
JsonView
KeepaliveAssetItem
LangActiveAssetItem
Language
Language
Language
LanguageAdapter
LanguageFactory
LanguageFactoryInterface
LanguageField
LanguageHelper
LastvisitdaterangeField
LayoutHelper
LayoutInterface
LegacyComponent
LegacyComponentDispatcher
LegacyFactory
LegacyModelLoaderTrait
LibraryAdapter
LibraryHelper
LibraryManifest
LimitboxField
LinkButton
Links
ListField
ListHelper
ListModel
ListModelInterface
ListUserCommand
ListView
Log
LogEntry
Logger
Logger
LoggerRegistry
Mail
MailDisabledException
MailHelper
MailTemplate
Manifest
Mcrypt
MD5Handler
MediaField
MediaHelper
MediaRssParser
MemcachedStorage
Menu
Menu
Menu
MenuFactory
MenuFactoryInterface
MenuField
MenuItem
MenuitemField
MenuRules
MenuType
MessagequeueLogger
MessageRenderer
MetadataManager
MetadataManagerListener
MetasRenderer
MeterField
Microdata
MissingComponentException
ModelInterface
Module
Module
Module
ModuleAdapter
ModuleDispatcher
ModuleDispatcherFactory
ModuleDispatcherFactory
ModuleDispatcherFactoryInterface
ModuleHelper
ModuleInterface
ModulelayoutField
ModuleLayoutRule
ModuleorderField
ModulepositionField
ModuleRenderer
ModulesRenderer
ModuletagField
Multilanguage
MVCComponent
MVCFactory
MVCFactory
MVCFactoryAwareTrait
MVCFactoryInterface
MVCFactoryServiceInterface
MVCFactoryServiceTrait
MysqlChangeItem
NamespaceParserInterface
Negate
Nested
NodeInterface
NodeTrait
NomenuRules
NotAcceptable
NotAcceptableExceptionHandler
NotAllowed
NotAllowedExceptionHandler
NoteField
NotequalsRule
Number
NumberField
NumberRule
ObjectCreateEvent
OnGetApiAttributes
OnGetApiFields
OnGetApiRelation
OpensearchDocument
OpensearchImage
OpensearchUrl
OpenSSL
OptionsRule
OrderingField
OutputController
OutputFilter
PackageAdapter
PackageManifest
PageController
Pagination
PaginationObject
PasswordField
PasswordRule
Patcher
Path
Pathway
Pathway
PHPassHandler
PluginAdapter
PluginHelper
PluginInterface
PluginsField
PluginstatusField
PopupButton
PostgresqlChangeItem
PredefinedlistField
PreloadManager
PreloadManagerInterface
ProcessorInterface
Profiler
ProviderAwareAuthenticationPluginInterface
PublishedButton
PunycodeHelper
RadiobasicField
RadioField
Randval
RandValInterface
RangeField
RawDocument
RawFilter
RedirectStatusField
RedisStorage
RegistrationdaterangeField
Registry
RemoveOldFilesCommand
RemoveUserFromGroupCommand
RendererInterface
RendererInterface
ResourceNotFound
ResourceNotFoundExceptionHandler
Response
Route
RouteHelper
RouteNotFoundException
Router
RouterBase
RouterFactory
RouterFactory
RouterFactoryInterface
RouterInterface
RouterLegacy
RouterServiceInterface
RouterServiceTrait
RouterView
RouterViewConfiguration
RssParser
RssRenderer
Rule
Rules
RulesField
RulesFilter
RulesInterface
RulesRule
SafehtmlFilter
Save
SaveExceptionHandler
ScriptsRenderer
SearchTools
SectionNotFoundException
Select
SendEmail
SendEmailExceptionHandler
SeparatorButton
Session
Session
SessionFactory
SessionGcCommand
SessionhandlerField
SessionManager
SessionMetadataGcCommand
SetConfigurationCommand
SetNewTagsEvent
Sidebar
SiteApplication
SiteDownCommand
SiteMenu
SitePathway
SiteRouter
SiteUpCommand
Sketchy
Smooth
SocketTransport
SodiumCipher
SortableList
SpacerField
SqlField
SqlsrvChangeItem
StandardButton
StandardRules
StateBehaviorTrait
StatefulModelInterface
StatusField
Stdout
Stream
StreamString
StreamTransport
StringController
StringHelper
StylesRenderer
SubformField
SubformRule
SyslogLogger
Table
TableInterface
Tag
TagApiSerializerTrait
TagField
TaggableTableInterface
TaggableTableTrait
TagServiceInterface
TagServiceTrait
TagsHelper
TasksListCommand
TasksRunCommand
TasksStateCommand
Telephone
TelephoneField
TelFilter
TelRule
TemplateAdapter
TemplatestyleField
Text
TextareaField
TextField
TimeField
TimeRule
TimezoneField
Toolbar
Toolbar
ToolbarButton
ToolbarFactoryInterface
ToolbarHelper
Totp
TransitionButton
TransitionField
Transliterate
TransportInterface
Ucm
UCM
UCMBase
UCMContent
UCMType
UiTab
UnknownAssetException
UnparsableImageException
UnsatisfiedDependencyException
UnsetFilter
UnsupportedCacheException
UnsupportedStorageException
Update
Update
UpdateAdapter
UpdateCoreCommand
Updater
UpdateSite
Uri
UrlField
UrlFilter
UrlRule
User
User
User
User
UseractiveField
UserFactory
UserFactoryInterface
UserField
Usergroup
UsergrouplistField
UserGroupsHelper
UserHelper
UserIdRule
UsernameRule
UserstateField
Utility
Version
VersionableControllerTrait
VersionableModelTrait
VersionableTableInterface
Versioning
ViewController
ViewInterface
ViewLevel
W3cLogger
WebApplication
WebAssetAttachBehaviorInterface
WebAssetExceptionInterface
WebAssetItem
WebAssetItemInterface
WebAssetManager
WebAssetManagerInterface
WebAssetRegistry
WebAssetRegistry
WebAssetRegistryAssetChanged
WebAssetRegistryInterface
WincacheStorage
Workflow
WorkflowBehaviorTrait
WorkflowComponentSectionsField
WorkflowconditionField
WorkflowFunctionalityUsedEvent
WorkflowModelInterface
WorkflowPluginTrait
WorkflowServiceInterface
WorkflowServiceTrait
WorkflowStage
WorkflowstageField
WorkflowTransitionEvent
WritableContainerLoader
WritableLoaderInterface
Xml
XmlDocument
XmlRenderer
Methods
alert
button
carousel
collapse
dropdown
modal
offcanvas
popover
scrollspy
tab
tooltip
toast
framework
loadCss
startAccordion
endAccordion
addSlide
endSlide
renderModal
startTabSet
endTabSet
addTab
endTab
You are here:
Home
Joomla
Bootstrap
⇦
Back to Joomla project (class list)
Class Bootstrap - list of methods
Utility class for Bootstrap elements.
Package:
Joomla\CMS\HTML\Helpers
Copyright:
(C) 2012 Open Source Matters, Inc.
License:
GNU General Public License version 2 or later; see LICENSE.txt
Located at:
Joomla/HTML/Helpers/Bootstrap.php
Project:
Joomla
Method Summary
public static void
alert
(mixed
$selector
=
''
)
Add javascript support for Bootstrap alerts
Parameters
string
$selector
Common class for the alerts
Returns
void
Since
3.0
-
\Exception
Show source code of this method:
alert Source Code
public static void
button
(mixed
$selector
=
''
)
Add javascript support for Bootstrap buttons
Parameters
string
$selector
Common class for the buttons
Returns
void
Since
3.1
-
\Exception
Show source code of this method:
button Source Code
public static void
carousel
(mixed
$selector
=
''
, mixed
$params
=
[]
)
Add javascript support for Bootstrap carousels
Parameters
string
$selector
Common class for the carousels.
array
$params
An array of options for the carousel.
Returns
void
Since
3.0
-
\Exception
Show source code of this method:
carousel Source Code
public static void
collapse
(mixed
$selector
=
''
, mixed
$params
=
[]
)
Add javascript support for Bootstrap collapse
Parameters
string
$selector
Common class for the collapse
string
[]
$params
Additional parameters - see below
Returns
void
Since
4.0.0
-
\Exception
Show source code of this method:
collapse Source Code
public static void
dropdown
(mixed
$selector
=
''
, mixed
$params
=
[]
)
Add javascript support for Bootstrap dropdowns
Parameters
string
$selector
Common class for the dropdowns
array
$params
The options for the dropdowns
Returns
void
Since
4.0.0
Show source code of this method:
dropdown Source Code
public static void
modal
(mixed
$selector
=
''
, mixed
$options
=
[]
)
Add javascript support for Bootstrap modal
Parameters
string
$selector
The ID selector for the modal.
array
$options
An array of options for the modal.
Returns
void
Since
4.0.0
Show source code of this method:
modal Source Code
public static void
offcanvas
(mixed
$selector
=
''
, mixed
$options
=
[]
)
Add javascript support for Bootstrap offcanvas
Parameters
string
$selector
The ID selector for the offcanvas.
array
$options
An array of options for the offcanvas.
Returns
void
Since
4.0.0
Show source code of this method:
offcanvas Source Code
public static void
popover
(mixed
$selector
=
''
, mixed
$options
=
[]
)
Add javascript support for Bootstrap popovers
Parameters
string
$selector
Selector for the popover
array
$options
The options for the popover
Returns
void
Since
3.0
Show source code of this method:
popover Source Code
public static void
scrollspy
(mixed
$selector
=
''
, mixed
$options
=
[]
)
Add javascript support for Bootstrap Scrollspy
Parameters
string
$selector
The ID selector for the ScrollSpy element.
array
$options
An array of options for the ScrollSpy.
Returns
void
Since
3.0
Show source code of this method:
scrollspy Source Code
public static void
tab
(mixed
$selector
=
''
, mixed
$options
=
[]
)
Add javascript support for Bootstrap tab
Parameters
string
$selector
Common class for the tabs
array
$options
Options for the tabs
Returns
void
Since
4.0.0
-
\Exception
Show source code of this method:
tab Source Code
public static void
tooltip
(mixed
$selector
=
''
, mixed
$options
=
[]
)
Add javascript support for Bootstrap tooltips
Parameters
string
$selector
The ID selector for the tooltip.
array
$options
An array of options for the tooltip.
Returns
void
Since
3.0
Show source code of this method:
tooltip Source Code
public static void
toast
(mixed
$selector
=
''
, mixed
$options
=
[]
)
Add javascript support for Bootstrap toasts
Parameters
string
$selector
Common class for the toasts
array
$options
Options for the toasts
Returns
void
Since
4.0.0
-
\Exception
Show source code of this method:
toast Source Code
public static void
framework
(mixed
$debug
=
null
)
Method to load the ALL the Bootstrap Components
Parameters
mixed
$debug
Is debugging mode on? [optional]
Returns
void
Since
3.0
Deprecated
5.0
Show source code of this method:
framework Source Code
public static void
loadCss
(mixed
$includeMainCss
=
true
, mixed
$direction
=
'ltr'
, mixed
$attribs
=
[]
)
Loads CSS files needed by Bootstrap
Parameters
bool
$includeMainCss
If true, main bootstrap.css files are loaded
string
$direction
rtl or ltr direction. If empty, ltr is assumed
array
$attribs
Optional array of attributes to be passed to HTMLHelper::_('stylesheet')
Returns
void
Since
3.0
Show source code of this method:
loadCss Source Code
public static string
startAccordion
(mixed
$selector
=
'myAccordian'
, mixed
$options
=
[]
)
Add javascript support for Bootstrap accordions and insert the accordion
Parameters
string
$selector
The ID selector for the tooltip. Expects a valid ID without the #!
array
$options
An array of options for the tooltip.
Returns
string
HTML for the accordion
Since
3.0
Show source code of this method:
startAccordion Source Code
public static string
endAccordion
()
Close the current accordion
Returns
string
HTML to close the accordion
Since
3.0
Show source code of this method:
endAccordion Source Code
public static string
addSlide
(mixed
$selector
, mixed
$text
, mixed
$id
, mixed
$class
=
''
)
Begins the display of a new accordion slide.
Parameters
string
$selector
Identifier of the accordion group.
string
$text
Text to display.
string
$id
Identifier of the slide.
string
$class
Class of the accordion group.
Returns
string
HTML to add the slide
Since
3.0
Show source code of this method:
addSlide Source Code
public static string
endSlide
()
Close the current slide
Returns
string
HTML to close the slide
Since
3.0
Show source code of this method:
endSlide Source Code
public static string
renderModal
(mixed
$selector
=
'modal'
, mixed
$options
=
[]
, mixed
$body
=
''
)
Method to render a Bootstrap modal
Parameters
string
$selector
The ID selector for the modal. Expects a valid ID without the #!
array
$options
An array of options for the modal.
string
$body
Markup for the modal body. Appended after the `<iframe>` if the URL option is set
Returns
string
HTML markup for a modal
Since
3.0
Show source code of this method:
renderModal Source Code
public static string
startTabSet
(mixed
$selector
=
'myTab'
, mixed
$params
=
[]
)
Creates a tab pane
Parameters
string
$selector
The pane identifier. Expects a valid ID without the #!
array
$params
The parameters for the pane
Returns
string
Since
3.1
Show source code of this method:
startTabSet Source Code
public static string
endTabSet
()
Close the current tab pane
Returns
string
HTML to close the pane
Since
3.1
Show source code of this method:
endTabSet Source Code
public static string
addTab
(mixed
$selector
, mixed
$id
, mixed
$title
)
Begins the display of a new tab content panel.
Parameters
string
$selector
Identifier of the panel. Expects a valid ID without the #!
string
$id
The ID of the div element. Expects a valid ID without the #!
string
$title
The title text for the new UL tab
Returns
string
HTML to start a new panel
Since
3.1
Show source code of this method:
addTab Source Code
public static string
endTab
()
Close the current tab content panel
Returns
string
HTML to close the pane
Since
3.1
Show source code of this method:
endTab Source Code
Properties Summary
protected static
array
$loaded
Since
3.0
Tags Summary
Since
3.0