helper class for social profile fields.
More...
|
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.
|
|
helper class for social profile fields.
- Copyright
- 2020 Bas Brands bas@m.nosp@m.oodl.nosp@m.e.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_fieldname()
static profilefield_social\helper::get_fieldname |
( |
string | $fieldname | ) |
|
|
static |
Get the translated fieldname string for a network.
- Parameters
-
string | $fieldname | Network short name. |
- Return values
-
◆ get_network_urls()
static profilefield_social\helper::get_network_urls |
( |
| ) |
|
|
static |
Get the available network url formats.
- Return values
-
array | list network url strings. |
◆ get_networks()
static profilefield_social\helper::get_networks |
( |
| ) |
|
|
static |
Get the available social networks.
- Return values
-
array | list of social networks. |
The documentation for this class was generated from the following file:
- user/profile/field/social/classes/helper.php