[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/phpbb/template/twig/extension/ -> avatar.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 80 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

avatar:: (3 methods):
  getName()
  getFunctions()
  get_avatar()


Class: avatar  - X-Ref

getName()   X-Ref
Get the name of this extension

return: string

getFunctions()   X-Ref
Returns a list of global functions to add to the existing list.

return: array An array of global functions

get_avatar()   X-Ref
Get avatar for placing into templates.

How to use in a template:
- {{ avatar('mode', row, alt, ignore_config, lazy) }}

The mode and row (group_row or user_row) are required.
The other fields (alt|ignore_config|lazy) are optional.

return: string    The avatar HTML for the specified mode



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1