ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Skill\Profile\SkillProfileFactory Class Reference
+ Collaboration diagram for ILIAS\Skill\Profile\SkillProfileFactory:

Public Member Functions

 profile (int $id, string $title, string $description, int $skill_tree_id, string $image_id="", int $ref_id=0)
 
 roleProfile (int $role_id, int $profile_id, string $title, string $description, int $skill_tree_id, string $image_id, int $ref_id)
 
 profileLevel (int $profile_id, int $base_skill_id, int $tref_id, int $level_id, int $order_nr)
 
 profileCompletion (int $profile_id, int $user_id, string $date, bool $fulfilled)
 
 profileUserAssignment (string $name, int $id)
 
 profileRoleAssignment (string $name, int $id, string $obj_title, string $obj_type, int $obj_id)
 

Detailed Description

Author
Thomas Famula famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

Definition at line 27 of file class.SkillProfileFactory.php.

Member Function Documentation

◆ profile()

ILIAS\Skill\Profile\SkillProfileFactory::profile ( int  $id,
string  $title,
string  $description,
int  $skill_tree_id,
string  $image_id = "",
int  $ref_id = 0 
)

Definition at line 29 of file class.SkillProfileFactory.php.

36 : SkillProfile {
37 return new SkillProfile(
38 $id,
39 $title,
40 $description,
41 $skill_tree_id,
42 $image_id,
44 );
45 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
$ref_id
Definition: ltiauth.php:66

◆ profileCompletion()

ILIAS\Skill\Profile\SkillProfileFactory::profileCompletion ( int  $profile_id,
int  $user_id,
string  $date,
bool  $fulfilled 
)

Definition at line 83 of file class.SkillProfileFactory.php.

88 : SkillProfileCompletion {
89 return new SkillProfileCompletion(
90 $profile_id,
92 $date,
93 $fulfilled
94 );
95 }

◆ profileLevel()

ILIAS\Skill\Profile\SkillProfileFactory::profileLevel ( int  $profile_id,
int  $base_skill_id,
int  $tref_id,
int  $level_id,
int  $order_nr 
)

Definition at line 67 of file class.SkillProfileFactory.php.

73 : SkillProfileLevel {
74 return new SkillProfileLevel(
75 $profile_id,
76 $base_skill_id,
77 $tref_id,
78 $level_id,
79 $order_nr
80 );
81 }

◆ profileRoleAssignment()

ILIAS\Skill\Profile\SkillProfileFactory::profileRoleAssignment ( string  $name,
int  $id,
string  $obj_title,
string  $obj_type,
int  $obj_id 
)

Definition at line 107 of file class.SkillProfileFactory.php.

113 : SkillProfileRoleAssignment {
114 return new SkillProfileRoleAssignment(
115 $name,
116 $id,
117 $obj_title,
118 $obj_type,
119 $obj_id
120 );
121 }

◆ profileUserAssignment()

ILIAS\Skill\Profile\SkillProfileFactory::profileUserAssignment ( string  $name,
int  $id 
)

Definition at line 97 of file class.SkillProfileFactory.php.

100 : SkillProfileUserAssignment {
101 return new SkillProfileUserAssignment(
102 $name,
103 $id
104 );
105 }

◆ roleProfile()

ILIAS\Skill\Profile\SkillProfileFactory::roleProfile ( int  $role_id,
int  $profile_id,
string  $title,
string  $description,
int  $skill_tree_id,
string  $image_id,
int  $ref_id 
)

Definition at line 47 of file class.SkillProfileFactory.php.

55 : SkillRoleProfile {
56 return new SkillRoleProfile(
57 $role_id,
58 $profile_id,
59 $title,
60 $description,
61 $skill_tree_id,
62 $image_id,
64 );
65 }

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