ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSkillTemplateCategory Class Reference

Skill Template Category. More...

+ Inheritance diagram for ilSkillTemplateCategory:
+ Collaboration diagram for ilSkillTemplateCategory:

Public Member Functions

 __construct ($a_id=0)
 Constructor public.
 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.
 read ()
 Read Data of Node.
 setDataRecord ($a_record)
 this method should only be called by class ilSCORM2004NodeFactory
 setStatus ($a_val)
 Set status.
 getStatus ()
 Get status.
 create ()
 Create Node.
 update ()
 Update Node.
 delete ()
 Delete 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 Template 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.ilSkillTemplateCategory.php.

Constructor & Destructor Documentation

ilSkillTemplateCategory::__construct (   $a_id = 0)

Constructor public.

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

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

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

+ Here is the call graph for this function:

Member Function Documentation

ilSkillTemplateCategory::copy ( )

Copy skill category.

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

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

{
$sctp = new ilSkillTemplateCategory();
$sctp->setTitle($this->getTitle());
$sctp->setType($this->getType());
$sctp->setOrderNr($this->getOrderNr());
$sctp->create();
return $sctp;
}

+ Here is the call graph for this function:

Field Documentation

ilSkillTemplateCategory::$id

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


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