[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Service/HTML/ -> Users.php (summary)

(no description)

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

Defines 1 class

Users:: (13 methods):
  image()
  addNote()
  filterNotes()
  notes()
  notesModal()
  blockStates()
  activateStates()
  value()
  spacer()
  templatestyle()
  admin_language()
  language()
  editor()


Class: Users  - X-Ref

Extended Utility class for the Users component.

image($src)   X-Ref
Display an image.

param: string  $src  The source of the image
return: string  A <img> element if the specified file exists, otherwise, a null string

addNote($userId)   X-Ref
Displays an icon to add a note for this user.

param: integer  $userId  The user ID
return: string  A link to add a note

filterNotes($count, $userId)   X-Ref
Displays an icon to filter the notes list on this user.

param: integer  $count   The number of notes for the user
param: integer  $userId  The user ID
return: string  A link to apply a filter

notes($count, $userId)   X-Ref
Displays a note icon.

param: integer  $count   The number of notes for the user
param: integer  $userId  The user ID
return: string  A link to a modal window with the user notes

notesModal($count, $userId)   X-Ref
Renders the modal html.

param: integer  $count   The number of notes for the user
param: integer  $userId  The user ID
return: string   The html for the rendered modal

blockStates($self = false)   X-Ref
Build an array of block/unblock user states to be used by jgrid.state,
State options will be different for any user
and for currently logged in user

param: boolean  $self  True if state array is for currently logged in user
return: array  a list of possible states to display

activateStates()   X-Ref
Build an array of activate states to be used by jgrid.state,

return: array  a list of possible states to display

value($value)   X-Ref
Get the sanitized value

param: mixed  $value  Value of the field
return: mixed  String/void

spacer($value)   X-Ref
Get the space symbol

param: mixed  $value  Value of the field
return: string

templatestyle($value)   X-Ref
Get the sanitized template style

param: mixed  $value  Value of the field
return: mixed  String/void

admin_language($value)   X-Ref
Get the sanitized language

param: mixed  $value  Value of the field
return: mixed  String/void

language($value)   X-Ref
Get the sanitized language

param: mixed  $value  Value of the field
return: mixed  String/void

editor($value)   X-Ref
Get the sanitized editor name

param: mixed  $value  Value of the field
return: mixed  String/void



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