[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2020 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 227 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
renderWebauthnProfileField($value) X-Ref |
HTMLHelper method to render the WebAuthn user profile field in the profile view page. Instead of showing a nonsensical "Website default" label next to the field, this method displays the number and names of authenticators already registered by the user. This static method is set up for use in the onContentPrepareData method of this plugin. param: mixed $value Ignored. The WebAuthn profile field is virtual, it doesn't have a return: string |
onContentPrepareForm(Event $event) X-Ref |
No description |
onContentPrepareData(Event $event) X-Ref |
param: Event $event The event we are handling return: void |
getUserFromData($data) X-Ref |
Get the user object based on the ID found in the provided user form data param: array|object|null $data The user form data return: User|null A user object or null if no match is found |
canEditUser(?User $user = null) X-Ref |
Is the current user allowed to edit the WebAuthn configuration of $user? To do so I must either be editing my own account OR I have to be a Super User. param: ?User $user The user you want to know if we're allowed to edit return: boolean |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |