57 include_once
'Services/MetaData/classes/class.ilMD.php';
61 $a_obj_id = $a_rbac_id;
64 $this->rbac_id = $a_rbac_id;
65 $this->obj_id = $a_obj_id;
66 $this->obj_type = $a_type;
68 $this->md_obj =&
new ilMD($a_rbac_id,$a_obj_id,$a_type);
74 $this->title = $a_title;
82 $this->description = $a_desc;
86 return $this->description;
90 $this->title_lng = $a_lng;
94 include_once
'Services/MetaData/classes/class.ilMDLanguageItem.php';
100 $this->title_lng = $a_lng;
104 include_once
'Services/MetaData/classes/class.ilMDLanguageItem.php';
110 $this->title_lng = $a_lng;
114 include_once
'Services/MetaData/classes/class.ilMDLanguageItem.php';
120 $this->keyword = $a_key;
124 return $this->keyword;
142 $this->title_lng = $a_lng;
146 include_once
'Services/MetaData/classes/class.ilMDLanguageItem.php';
152 $this->catalog = $a_cat;
156 return $this->catalog ? $this->catalog :
'ILIAS';
160 $this->entry = $a_entry;
164 return $this->entry ? $this->entry :
'il__'.$this->getObjType().
'_'.$this->
getObjId();
168 $this->structure = $a_structure;
172 return $this->structure ? $this->structure :
'Hierarchical';
185 $md_gen =& $this->md_obj->addGeneral();
188 $md_gen->setTitle($this->
getTitle());
192 $md_ide =& $md_gen->addIdentifier();
194 $md_ide->setEntry($this->
getEntry());
197 $md_lng =& $md_gen->addLanguage();
201 $md_des =& $md_gen->addDescription();
206 $md_key =& $md_gen->addKeyword();