CaptchaRegistry
Implements DispatcherAwareInterfaceCaptcha Registry class
final
| since |
5.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
add
Register element in registry, add new or override existing.
add(\Joomla\CMS\Captcha\CaptchaProviderInterface instance) :
get
Return element by name.
get( name) : \Joomla\CMS\Captcha\CaptchaProviderInterface
| throws | |
|---|---|
| since |
5.0.0 |
Arguments
- name
stringElement name
Response
getAll
Return list of all registered elements
getAll() : \Joomla\CMS\Captcha\CaptchaProviderInterface||string|int
has
Check whether the element exists in the registry.
has( name) :
| since |
5.0.0 |
|---|
Arguments
- name
stringElement name
Response
bool
initRegistry
Trigger event to allow register the element through plugins.
initRegistry() :
| since |
5.0.0 |
|---|
Response
static
Properties
registry
List of registered elements
initialised
Internal flag of initialisation
| since |
5.0.0 |
|---|
Type(s)
bool