ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Skill Template Reference. More...
Public Member Functions | |
__construct (int $a_id=0) | |
setSkillTemplateId (int $a_val) | |
getSkillTemplateId () | |
read () | |
create () | |
update () | |
delete () | |
copy () | |
![]() | |
__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 () | |
Static Public Member Functions | |
static | _lookupTemplateId (int $a_obj_id) |
static | _lookupTrefIdsForTopTemplateId (int $a_template_id) |
static | _lookupTrefIdsForTemplateId (int $a_tid) |
![]() | |
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... | |
Protected Attributes | |
ilDBInterface | $db |
int | $skill_template_id = 0 |
![]() | |
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 = [] |
Additional Inherited Members | |
![]() | |
const | STATUS_PUBLISH = 0 |
const | STATUS_DRAFT = 1 |
const | STATUS_OUTDATED = 2 |
![]() | |
setCreationDate (string $a_val) | |
![]() | |
static | _lookup (int $a_obj_id, string $a_field) |
Skill Template Reference.
Definition at line 26 of file class.ilSkillTemplateReference.php.
ilSkillTemplateReference::__construct | ( | int | $a_id = 0 | ) |
Definition at line 31 of file class.ilSkillTemplateReference.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ilSkillTreeNode\setType().
|
static |
Definition at line 117 of file class.ilSkillTemplateReference.php.
Referenced by ilSkillTreeNode\_lookupTitle(), ilPersonalSkillsGUI\assignMaterials(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillTreeGUI\deleteNodes(), ilSkillCatTableGUI\fillRow(), ilSkillTreeNode\getAllCSkillIdsForNodeIds(), ilVirtualSkillTree\getChildsOfNode(), ilSkillTreeDBRepository\getCommonSkillIdForImportId(), ilSkillTreeNode\getIconPath(), ilVirtualSkillTree\getNode(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilSkillTree\getSkillTreePath(), ILIAS\Skill\Personal\AssignedMaterialManager\getUsageInfo(), ilPersonalSkillsGUI\renderSkillHTML(), ilPersonalSkillsGUI\selfEvaluation(), and ilSkillTemplateReferenceGUI\setTabs().
|
static |
int | $a_tid | template node id (node id in template tree) |
Definition at line 157 of file class.ilSkillTemplateReference.php.
References $DIC.
Referenced by ilObjSkillTreeGUI\deleteNodes(), ilSkillTreeNode\getAllCSkillIdsForNodeIds(), and ILIAS\Skill\Usage\SkillUsageManager\getAllUsagesOfTemplate().
|
static |
int | $a_template_id | (top) template node id |
Definition at line 135 of file class.ilSkillTemplateReference.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilObjSkillTreeGUI\deleteNodes(), ILIAS\Skill\Node\SkillDeletionManager\deleteSkillCategoryTemplate(), and ILIAS\Skill\Node\SkillDeletionManager\deleteSkillTemplate().
ilSkillTemplateReference::copy | ( | ) |
Definition at line 103 of file class.ilSkillTemplateReference.php.
References ilSkillTreeNode\getDescription(), ilSkillTreeNode\getOrderNr(), ilSkillTreeNode\getSelfEvaluation(), getSkillTemplateId(), ilSkillTreeNode\getTitle(), and ilSkillTreeNode\getType().
ilSkillTemplateReference::create | ( | ) |
Definition at line 65 of file class.ilSkillTemplateReference.php.
ilSkillTemplateReference::delete | ( | ) |
Definition at line 91 of file class.ilSkillTemplateReference.php.
ilSkillTemplateReference::getSkillTemplateId | ( | ) |
Definition at line 45 of file class.ilSkillTemplateReference.php.
References $skill_template_id.
Referenced by copy().
ilSkillTemplateReference::read | ( | ) |
Definition at line 50 of file class.ilSkillTemplateReference.php.
References $db, $ilDB, and setSkillTemplateId().
ilSkillTemplateReference::setSkillTemplateId | ( | int | $a_val | ) |
Definition at line 40 of file class.ilSkillTemplateReference.php.
Referenced by read().
ilSkillTemplateReference::update | ( | ) |
Definition at line 78 of file class.ilSkillTemplateReference.php.
|
protected |
|
protected |
Definition at line 29 of file class.ilSkillTemplateReference.php.
Referenced by getSkillTemplateId().