Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe MethodsController
+ Graphe d'héritage de MethodsController:

Fonctions membres publiques

 __construct ($config=[], MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null)
 
 display ($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

 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
 

Description détaillée

Multi-factor Authentication methods selection and management controller

Depuis
4.2.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $config = [],
MVCFactoryInterface  $factory = null,
?CMSApplication  $app = null,
?Input  $input = null 
)

Public constructor

Paramètres
array$configPlugin configuration
MVCFactoryInterface | null$factoryMVC Factory for the com_users component
CMSApplication | null$appCMS application object
Input | null$inputJoomla CMS input object
Depuis
4.2.0

Références $app, $config, $input, et Symfony\Contracts\Service\__construct().

Documentation des fonctions membres

◆ assertLoggedInUser()

assertLoggedInUser ( )
private

Assert that there is a user currently logged in

Renvoie
void
Depuis
4.2.0

Références $user, Text\_(), class, et Factory\getContainer().

◆ display()

display (   $cachable = false,
  $urlparams = [] 
)

List all available Multi-factor Authentication Methods available and guide the user to setting them up

Paramètres
bool$cachableCan this view be cached
array$urlparamsAn array of safe url parameters and their variable types, for valid values see JFilterInput::clean().
Renvoie
void
Depuis
4.2.0

Références $user, $userId, $view, Text\_(), class, Factory\getContainer(), et null.


La documentation de cette classe a été générée à partir du fichier suivant :