Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_moodlenet\moodlenet_user_profile Class Reference

A class to represent the moodlenet profile. More...

Public Member Functions

 __construct (string $userprofile, int $userid)
 Constructor method.
 
 get_domain ()
 Get the domain for this profile.
 
 get_profile_name ()
 Get the full moodle net profile.
 
 get_userid ()
 Get the user ID that this profile belongs to.
 
 get_username ()
 Get the username for this profile.
 

Protected Attributes

string $domain
 $domain The domain from $domain
 
string $profile
 $profile The full profile name.
 
int $userid
 $userid The user ID that this profile belongs to.
 
string $username
 $username The username from $userprofile
 

Detailed Description

A class to represent the moodlenet profile.

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

Constructor & Destructor Documentation

◆ __construct()

tool_moodlenet\moodlenet_user_profile::__construct ( string $userprofile,
int $userid )

Constructor method.

Parameters
string$userprofileThe moodle net user profile string.
int$useridThe user ID that this profile belongs to.

Member Function Documentation

◆ get_domain()

tool_moodlenet\moodlenet_user_profile::get_domain ( )

Get the domain for this profile.

Return values
stringThe domain.

◆ get_profile_name()

tool_moodlenet\moodlenet_user_profile::get_profile_name ( )

Get the full moodle net profile.

Return values
stringThe moodle net profile.

◆ get_userid()

tool_moodlenet\moodlenet_user_profile::get_userid ( )

Get the user ID that this profile belongs to.

Return values
intThe user ID.

◆ get_username()

tool_moodlenet\moodlenet_user_profile::get_username ( )

Get the username for this profile.

Return values
stringThe username.

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