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

Fonctions membres publiques

 getMethod (string $method)
 
 methodExists (string $method)
 
 getRenderOptions (?User $user=null)
 
 getPageTitle ()
 
- Fonctions membres publiques hérités de BaseDatabaseModel
 __construct ($config=array(), MVCFactoryInterface $factory=null)
 
 getTable ($name='', $prefix='', $options=array())
 
 isCheckedOut ($item)
 
 getDbo ()
 
 setDbo (DatabaseInterface $db=null)
 
 __get ($name)
 
- Fonctions membres publiques hérités de BaseModel
 __construct ($config=array())
 
 getName ()
 
- Fonctions membres publiques hérités de CMSObject
 __construct ($properties=null)
 
 __toString ()
 
 def ($property, $default=null)
 
 get ($property, $default=null)
 
 getProperties ($public=true)
 
 getError ($i=null, $toString=true)
 
 getErrors ()
 
 set ($property, $value=null)
 
 setProperties ($properties)
 
 setError ($error)
 
- Fonctions membres publiques hérités de StatefulModelInterface
 getState ($property=null, $default=null)
 
 setState ($property, $value=null)
 
- Fonctions membres publiques hérités de DispatcherAwareInterface
 setDispatcher (DispatcherInterface $dispatcher)
 
- Fonctions membres publiques hérités de CurrentUserInterface
 setCurrentUser (User $currentUser)
 
- Fonctions membres publiques hérités de CacheControllerFactoryAwareInterface
 setCacheControllerFactory (CacheControllerFactoryInterface $factory)
 
- Fonctions membres publiques hérités de DatabaseAwareInterface
 setDatabase (DatabaseInterface $db)
 

Attributs protégés

 $mfaMethods = null
 
- Attributs protégés hérités de BaseDatabaseModel
 $option = null
 
 $event_clean_cache = null
 
- Attributs protégés hérités de BaseModel
 $name
 
- Attributs protégés hérités de CMSObject
 $_errors = array()
 

Fonctions membres privées

 populateMfaMethods ()
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de BaseModel
static addIncludePath ($path='', $prefix='')
 
- Fonctions membres protégées hérités de BaseDatabaseModel
 _getList ($query, $limitstart=0, $limit=0)
 
 _getListCount ($query)
 
 _createTable ($name, $prefix='Table', $config=array())
 
 bootComponent ($component)
 
 dispatchEvent (EventInterface $event)
 
- Attributs protégés statiques hérités de BaseModel
static $paths
 

Description détaillée

Multi-factor Authentication management model

Depuis
4.2.0

Documentation des fonctions membres

◆ getMethod()

getMethod ( string  $method)

Get the specified MFA Method's record

Paramètres
string$methodThe Method to retrieve.
Renvoie
array
Depuis
4.2.0

Références $method.

◆ getPageTitle()

getPageTitle ( )

Return the title to use for the page

Renvoie
string
Depuis
4.2.0

Références $key, $task, Text\_(), et Joomla\CMS\MVC\Model\getState().

◆ getRenderOptions()

getRenderOptions ( ?User  $user = null)
Paramètres
User | null$userThe user record. Null to use the currently logged in user.
Renvoie
array
Exceptions
Exception
Depuis
4.2.0

Références $result, $results, $user, Factory\getApplication(), et Factory\getUser().

◆ methodExists()

methodExists ( string  $method)

Is the specified MFA Method available?

Paramètres
string$methodThe Method to check.
Renvoie
boolean
Depuis
4.2.0

Références $method.

◆ populateMfaMethods()

populateMfaMethods ( )
private

Populate the list of MFA Methods

Renvoie
void
Depuis
4.2.0

Références $method, et Text\_().

Documentation des champs

◆ $mfaMethods

$mfaMethods = null
protected

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