[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Helper/ -> UsersHelper.php (summary)

(no description)

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

Defines 1 class

UsersHelper:: (8 methods):
  getStateOptions()
  getActiveOptions()
  getGroups()
  getRangeOptions()
  getTwoFactorMethods()
  getVisibleByGroups()
  validateSection()
  getContexts()


Class: UsersHelper  - X-Ref

Users component helper.

getStateOptions()   X-Ref
Get a list of filter options for the blocked state of a user.

return: array  An array of \JHtmlOption elements.

getActiveOptions()   X-Ref
Get a list of filter options for the activated state of a user.

return: array  An array of \JHtmlOption elements.

getGroups()   X-Ref
Get a list of the user groups for filtering.

return: array  An array of \JHtmlOption elements.

getRangeOptions()   X-Ref
Creates a list of range options used in filter select list
used in com_users on users view

return: array

getTwoFactorMethods()   X-Ref
No longer used.

return: array

getVisibleByGroups($rules)   X-Ref
Get a list of the User Groups for Viewing Access Levels

param: string  $rules  User Groups in JSON format
return: string  $groups  Comma separated list of User Groups

validateSection($section)   X-Ref
Returns a valid section for users. If it is not valid then null
is returned.

param: string  $section  The section to get the mapping for
return: string|null  The new section

getContexts()   X-Ref
Returns valid contexts

return: array



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