ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSkillCategory Class Reference

Skill Category. More...

+ Inheritance diagram for ilSkillCategory:
+ Collaboration diagram for ilSkillCategory:

Public Member Functions

 __construct ($a_id=0)
 Constructor public.
 read ()
 Read data from database.
 create ()
 Create skill.
 delete ()
 Delete skill.
 copy ()
 Copy skill category.
- Public Member Functions inherited from ilSkillTreeNode
 ilSkillTreeNode ($a_id=0)
 setTitle ($a_title)
 Set title.
 getTitle ()
 Get title.
 setType ($a_type)
 Set type.
 getType ()
 Get type.
 setId ($a_id)
 Set Node ID.
 getId ()
 Get Node ID.
 setSelfEvaluation ($a_val)
 Set self evaluation.
 getSelfEvaluation ()
 Get self evaluation.
 setOrderNr ($a_val)
 Set order nr.
 getOrderNr ()
 Get order nr.
 setDataRecord ($a_record)
 this method should only be called by class ilSCORM2004NodeFactory
 setDraft ($a_val)
 Set draft.
 getDraft ()
 Get draft.
 update ()
 Update Node.
 clipboardCut ($a_tree_id, $a_ids)
 Cut and copy a set of skills/skill categories into the clipboard.
 getIconPath ($a_obj_id, $a_type, $a_size="", $a_draft=false)
 Get icon path.

Data Fields

 $id
- Data Fields inherited from ilSkillTreeNode
 $type
 $id
 $title

Additional Inherited Members

- Static Public Member Functions inherited from ilSkillTreeNode
static _lookupTitle ($a_obj_id)
 Lookup Title.
static _lookupSelfEvaluation ($a_obj_id)
 Lookup self evaluation.
static _lookupDraft ($a_obj_id)
 Lookup Draft.
static _lookupType ($a_obj_id)
 Lookup Type.
static _writeTitle ($a_obj_id, $a_title)
 Write Title.
static _writeOrderNr ($a_obj_id, $a_nr)
 Write Order Nr.
static putInTree ($a_obj, $a_parent_id="", $a_target_node_id="")
 Put this object into the skill tree.
static getTree ($a_slm_obj_id)
 Get scorm module editing tree.
static uniqueTypesCheck ($a_items)
 Check for unique types.
static clipboardCopy ($a_tree_id, $a_ids)
 Copy a set of skills/skill categories into the clipboard.
static insertItemsFromClip ($a_type, $a_obj_id)
 Insert basic skills from clipboard.
static clearClipboard ()
 Remove all skill items from clipboard.
static pasteTree ($a_item_id, $a_parent_id, $a_target, $a_insert_time, &$a_copied_nodes, $a_as_copy=false, $a_add_suffix=false)
 Paste item (tree) from clipboard to skill tree.
static isInTree ($a_id)
 Is id in tree?
static getAllSelfEvaluationNodes ()
 Get all self evaluation nodes.
static getTopTemplates ()
 Get top skill templates and template categories.
static getSelectableSkills ()
 Get selectable skills.
static getSkillTreeNodes ($a_node_id, $a_only_basic=false)
 Get basic skills under node.
static saveChildsOrder ($a_par_id, $a_childs_order, $a_templates=false)
 Save childs order.
- Static Protected Member Functions inherited from ilSkillTreeNode
static _lookup ($a_obj_id, $a_field)
 Lookup Title.

Detailed Description

Skill Category.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 15 of file class.ilSkillCategory.php.

Constructor & Destructor Documentation

ilSkillCategory::__construct (   $a_id = 0)

Constructor public.

Definition at line 23 of file class.ilSkillCategory.php.

References ilSkillTreeNode\ilSkillTreeNode(), and ilSkillTreeNode\setType().

{
$this->setType("scat");
}

+ Here is the call graph for this function:

Member Function Documentation

ilSkillCategory::copy ( )

Copy skill category.

Definition at line 57 of file class.ilSkillCategory.php.

References ilSkillTreeNode\getOrderNr(), ilSkillTreeNode\getSelfEvaluation(), ilSkillTreeNode\getTitle(), and ilSkillTreeNode\getType().

{
$scat = new ilSkillCategory();
$scat->setTitle($this->getTitle());
$scat->setType($this->getType());
$scat->setSelfEvaluation($this->getSelfEvaluation());
$scat->setOrderNr($this->getOrderNr());
$scat->create();
return $scat;
}

+ Here is the call graph for this function:

ilSkillCategory::create ( )

Create skill.

Reimplemented from ilSkillTreeNode.

Definition at line 41 of file class.ilSkillCategory.php.

ilSkillCategory::delete ( )

Delete skill.

Reimplemented from ilSkillTreeNode.

Definition at line 49 of file class.ilSkillCategory.php.

ilSkillCategory::read ( )

Read data from database.

Reimplemented from ilSkillTreeNode.

Definition at line 32 of file class.ilSkillCategory.php.

{
}

Field Documentation

ilSkillCategory::$id

Definition at line 17 of file class.ilSkillCategory.php.


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