Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
profilefield_social\helper Class Reference

helper class for social profile fields. More...

Static Public Member Functions

static get_fieldname (string $fieldname)
 Get the translated fieldname string for a network.
 
static get_network_urls ()
 Get the available network url formats.
 
static get_networks ()
 Get the available social networks.
 

Detailed Description

helper class for social profile fields.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_fieldname()

static profilefield_social\helper::get_fieldname ( string $fieldname)
static

Get the translated fieldname string for a network.

Parameters
string$fieldnameNetwork short name.
Return values
stringnetwork name.

◆ get_network_urls()

static profilefield_social\helper::get_network_urls ( )
static

Get the available network url formats.

Return values
arraylist network url strings.

◆ get_networks()

static profilefield_social\helper::get_networks ( )
static

Get the available social networks.

Return values
arraylist of social networks.

The documentation for this class was generated from the following file: