[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Model/ -> MethodModel.php (summary)

(no description)

Copyright: (C) 2022 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 261 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MethodModel:: (7 methods):
  getMethod()
  methodExists()
  getRenderOptions()
  getRecord()
  getPageTitle()
  getDefaultRecord()
  populateMfaMethods()


Class: MethodModel  - X-Ref

Multi-factor Authentication management model

getMethod(string $method)   X-Ref
Get the specified MFA Method's record

param: string  $method  The Method to retrieve.
return: array

methodExists(string $method)   X-Ref
Is the specified MFA Method available?

param: string  $method  The Method to check.
return: boolean

getRenderOptions(?User $user = null)   X-Ref

param: User|null  $user  The user record. Null to use the currently logged in user.
return: array

getRecord(User $user = null)   X-Ref
Get the specified MFA record. It will return a fake default record when no record ID is specified.

param: User|null  $user  The user record. Null to use the currently logged in user.
return: MfaTable

getPageTitle()   X-Ref
Return the title to use for the page

return: string

getDefaultRecord(?User $user = null)   X-Ref

param: User|null  $user  The user record. Null to use the current user.
return: MfaTable

populateMfaMethods()   X-Ref
Populate the list of MFA Methods

return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer