Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: