ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_id=0) | |
copy () | |
Copy basic skill template. More... | |
delete () | |
![]() | |
__construct (int $a_id=0, ilSkillLevelRepository $bsc_skl_lvl_db_rep=null, ilSkillUserLevelRepository $bsc_skl_usr_lvl_db_rep=null, ilSkillTreeRepository $bsc_skl_tre_rep=null) | |
read () | |
Read data from database. More... | |
create () | |
Create skill. More... | |
delete () | |
Delete skill. More... | |
copy () | |
Copy basic skill. More... | |
addLevel (string $a_title, string $a_description, string $a_import_id="") | |
getLevelData (int $a_id=0) | |
updateLevelOrder (array $order) | |
deleteLevel (int $a_id) | |
fixLevelNumbering () | |
getSkillForLevelId (int $a_level_id) | |
getMaxLevelPerType (int $a_tref_id, string $a_type, int $a_user_id=0, int $a_self_eval=0) | |
getNextLevelFulfilmentPerType (int $a_tref_id, string $a_type, int $a_user_id=0, int $a_self_eval=0) | |
getAllLevelEntriesOfUser (int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
getAllHistoricLevelEntriesOfUser (int $a_tref_id, int $a_user_id=0, int $a_eval_by=0) | |
getMaxLevelPerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
getNextLevelFulfilmentPerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
getMaxLevel (int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
getNextLevelFulfilment (int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
getLastLevelPerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
getLastUpdatePerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
getTitleForCertificate () | |
getShortTitleForCertificate () | |
![]() | |
__construct (int $a_id=0) | |
setTitle (string $a_title) | |
getTitle () | |
setDescription (string $a_description) | |
getDescription () | |
setType (string $a_type) | |
getType () | |
setId (int $a_id) | |
getId () | |
setSelfEvaluation (bool $a_val) | |
getSelfEvaluation () | |
setOrderNr (int $a_val) | |
getOrderNr () | |
setImportId (string $a_val) | |
getImportId () | |
getCreationDate () | |
read () | |
Read Data of Node. More... | |
setDataRecord (array $a_record) | |
this method should only be called by class ilSCORM2004NodeFactory More... | |
setStatus (int $a_val) | |
getStatus () | |
create () | |
Create Node. More... | |
update () | |
Update Node. More... | |
delete () | |
Additional Inherited Members | |
![]() | |
static | lookupLevelTitle (int $a_id) |
static | lookupLevelDescription (int $a_id) |
static | lookupLevelSkillId (int $a_id) |
static | writeLevelTitle (int $a_id, string $a_title) |
static | writeLevelDescription (int $a_id, string $a_description) |
static | resetUserSkillLevelStatus (int $a_user_id, int $a_skill_id, int $a_tref_id=0, int $a_trigger_ref_id=0, bool $a_self_eval=false) |
static | getNewAchievementsPerUser (string $a_timestamp, string $a_timestamp_to=null, int $a_user_id=0, int $a_self_eval=0) |
static | writeUserSkillLevelStatus (int $a_level_id, int $a_user_id, int $a_trigger_ref_id, int $a_tref_id=0, int $a_status=ilBasicSkill::ACHIEVED, bool $a_force=false, bool $a_self_eval=false, string $a_unique_identifier="", float $a_next_level_fulfilment=0.0, string $trigger_user_id="") |
static | removeAllUserSkillLevelStatusOfObject (int $a_user_id, int $a_trigger_obj_id, bool $a_self_eval=false, string $a_unique_identifier="") |
static | removeAllUserData (int $a_user_id) |
static | hasSelfEvaluated (int $a_user_id, int $a_skill_id, int $a_tref_id) |
static | getUsageInfo (array $a_cskill_ids) |
Get title of an assigned item. More... | |
static | getCommonSkillIdForImportId (int $a_source_inst_id, int $a_skill_import_id, int $a_tref_import_id=0) |
static | getLevelIdForImportId (int $a_source_inst_id, int $a_level_import_id) |
static | getLevelIdForImportIdMatchSkill (int $a_source_inst_id, int $a_level_import_id, int $a_skill_import_id, int $a_tref_import_id=0) |
![]() | |
static | getAllStatus () |
Get all status as array, key is value, value is lang text. More... | |
static | getStatusInfo (int $a_status) |
static | _lookupTitle (int $a_obj_id, int $a_tref_id=0) |
static | _lookupDescription (int $a_obj_id) |
static | _lookupSelfEvaluation (int $a_obj_id) |
static | _lookupStatus (int $a_obj_id) |
static | _lookupType (int $a_obj_id) |
static | _writeTitle (int $a_obj_id, string $a_title) |
static | _writeDescription (int $a_obj_id, string $a_description) |
static | _writeOrderNr (int $a_obj_id, int $a_nr) |
static | uniqueTypesCheck (array $a_items) |
Check for unique types. More... | |
static | getAllSelfEvaluationNodes () |
static | getSelectableSkills () |
static | getIconPath (int $a_obj_id, string $a_type, string $a_size="", int $a_status=0) |
static | getAllCSkillIdsForNodeIds (array $a_node_ids) |
Get all possible common skill IDs for node IDs. More... | |
![]() | |
const | ACHIEVED = 1 |
const | NOT_ACHIEVED = 0 |
const | EVAL_BY_OTHERS = 0 |
const | EVAL_BY_SELF = 1 |
const | EVAL_BY_ALL = 2 |
![]() | |
const | STATUS_PUBLISH = 0 |
const | STATUS_DRAFT = 1 |
const | STATUS_OUTDATED = 2 |
![]() | |
setCreationDate (string $a_val) | |
![]() | |
static | hasRecentSelfEvaluation (int $a_user_id, int $a_skill_id, int $a_tref_id=0, int $a_trigger_ref_id=0) |
![]() | |
static | _lookup (int $a_obj_id, string $a_field) |
![]() | |
ilObjUser | $user |
ilSkillLevelRepository | $bsc_skl_lvl_db_rep |
ilSkillUserLevelRepository | $bsc_skl_usr_lvl_db_rep |
ilSkillTreeRepository | $bsc_skl_tre_rep |
![]() | |
ilDBInterface | $db |
ILIAS Skill Service SkillService | $skill_service |
string | $type = "" |
int | $id = 0 |
string | $title = "" |
string | $description = "" |
bool | $self_eval = false |
int | $order_nr = 0 |
string | $import_id = "" |
string | $creation_date = "" |
int | $status = 0 |
array | $data_record = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Basic Skill Template
Definition at line 25 of file class.ilBasicSkillTemplate.php.
ilBasicSkillTemplate::__construct | ( | int | $a_id = 0 | ) |
Definition at line 27 of file class.ilBasicSkillTemplate.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilSkillTreeNode\setType().
ilBasicSkillTemplate::copy | ( | ) |
Copy basic skill template.
Definition at line 36 of file class.ilBasicSkillTemplate.php.
References ilSkillTreeNode\getDescription(), ilBasicSkill\getLevelData(), ilSkillTreeNode\getOrderNr(), ilSkillTreeNode\getTitle(), and ilSkillTreeNode\getType().
ilBasicSkillTemplate::delete | ( | ) |
Definition at line 56 of file class.ilBasicSkillTemplate.php.
References ilSkillTreeNode\$db, $ilDB, ilSkillTemplateReference\_lookupTrefIdsForTopTemplateId(), ilSkillTreeNode\getId(), and ilSkillTreeNodeFactory\getInstance().