ILIAS  Release_5_0_x_branch Revision 61816
 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
 setStatus ($a_val)
 Set status.
 getStatus ()
 Get status.
 update ()
 Update Node.
 clipboardCut ($a_tree_id, $a_ids)
 Cut and copy a set of skills/skill categories into the clipboard.

Data Fields

 $id
- Data Fields inherited from ilSkillTreeNode
const STATUS_PUBLISH = 0
const STATUS_DRAFT = 1
const STATUS_OUTDATED = 2
 $type
 $id
 $title

Additional Inherited Members

- Static Public Member Functions inherited from ilSkillTreeNode
static getAllStatus ()
 Get all status.
static getStatusInfo ($a_status)
 Get status info.
static _lookupTitle ($a_obj_id, $a_tref_id=0)
 Lookup Title.
static _lookupSelfEvaluation ($a_obj_id)
 Lookup self evaluation.
static _lookupStatus ($a_obj_id)
 Lookup Status.
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 saveChildsOrder ($a_par_id, $a_childs_order, $a_templates=false)
 Save childs order.
static getIconPath ($a_obj_id, $a_type, $a_size="", $a_status=0)
 Get icon path.
static findSkills ($a_term)
 Find skills.
- 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: