Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (array $config=[], MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null) | |
execute ($task) | |
delete ($cachable=false, $urlparams=[]) | |
Fonctions membres publiques hérités de BaseController | |
__construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null) | |
addViewPath ($path) | |
execute ($task) | |
getModel ($name='', $prefix='', $config=array()) | |
getName () | |
getTask () | |
getTasks () | |
getView ($name='', $type='', $prefix='', $config=array()) | |
redirect () | |
registerDefaultTask ($method) | |
registerTask ($task, $method) | |
unregisterTask ($task) | |
setMessage ($text, $type='message') | |
checkToken ($method='post', $redirect=true) | |
setRedirect ($url, $msg=null, $type=null) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres privées | |
assertCanEdit (?User $user=null) | |
assertCanDelete (?User $user=null) | |
assertLoggedInUser () | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de BaseController | |
static | addModelPath ($path, $prefix='') |
static | createFileName ($type, $parts=array()) |
static | getInstance ($prefix, $config=array()) |
Fonctions membres protégées hérités de BaseController | |
addPath ($type, $path) | |
checkEditId ($context, $id) | |
createModel ($name, $prefix='', $config=array()) | |
createView ($name, $prefix='', $type='', $config=array()) | |
holdEditId ($context, $id) | |
releaseEditId ($context, $id) | |
setPath ($type, $path) | |
Attributs protégés hérités de BaseController | |
$basePath | |
$default_view | |
$doTask | |
$message | |
$messageType | |
$methods | |
$name | |
$model_prefix | |
$paths | |
$redirect | |
$task | |
$taskMap | |
$input | |
$factory | |
$app | |
Attributs protégés statiques hérités de BaseController | |
static | $instance |
static | $views |
Multi-factor Authentication method controller
__construct | ( | array | $config = [] , |
MVCFactoryInterface | $factory = null , |
||
?CMSApplication | $app = null , |
||
?Input | $input = null |
||
) |
Public constructor
array | $config | Plugin configuration |
MVCFactoryInterface | null | $factory | MVC Factory for the com_users component |
CMSApplication | null | $app | CMS application object |
Input | null | $input | Joomla CMS input object |
Références $app, $config, $input, et Symfony\Contracts\Service\__construct().
|
private |
Assert that there is a logged in user.
Références $user, Text\_(), class, et Factory\getContainer().
delete | ( | $cachable = false , |
|
$urlparams = [] |
|||
) |
Delete an existing MFA Method
boolean | $cachable | Ignored. This page is never cached. |
boolean | array | $urlparams | Ignored. This page is never cached. |
Références $id, $message, $type, $url, $user, $userId, Text\_(), Route\_(), Joomla\Application\checkToken(), class, Factory\getContainer(), et null.
execute | ( | $task | ) |
Execute a task by triggering a Method in the derived class.
string | $task | The task to perform. If no matching task is found, the '__default' task is executed, if defined. |
Exception |
Implémente ControllerInterface.
Références $task.