/**
  * Constructor
  * @access	public
  */
 function ilObjMediaObject($a_id = 0)
 {
     $this->is_alias = false;
     $this->media_items = array();
     $this->contains_int_link = false;
     $this->type = "mob";
     parent::ilObject($a_id, false);
 }
 /**
  * Constructor
  *
  * @access public
  * @param
  * 
  */
 public function __construct($a_id = 0, $a_call_by_reference = true)
 {
     global $ilBench;
     $ilBench->start("Core", "ilObjPrivacySecurity_Constructor");
     $this->type = "ps";
     parent::ilObject($a_id, $a_call_by_reference);
     $ilBench->stop("Core", "ilObjPrivacySecurity_Constructor");
 }
 /**
  * Constructor
  * @access	public
  * @param	integer	reference_id or object_id
  * @param	boolean	treat the id as reference_id (true) or object_id (false)
  */
 function ilObjStyleSheet($a_id = 0, $a_call_by_reference = false)
 {
     $this->type = "sty";
     $this->style = array();
     if ($a_call_by_reference) {
         $this->ilias->raiseError("Can't instantiate style object via reference id.", $this->ilias->error_obj->FATAL);
     }
     parent::ilObject($a_id, false);
 }
 /**
  * Constructor
  * @access	public
  * @param	integer	reference_id or object_id
  * @param	boolean	treat the id as reference_id (true) or object_id (false)
  */
 function ilObjSAHSLearningModule($a_id = 0, $a_call_by_reference = true)
 {
     $this->type = "sahs";
     parent::ilObject($a_id, $a_call_by_reference);
 }
示例#5
0
 /**
  * Constructor
  * @access	public
  * @param	integer	reference_id or object_id
  * @param	boolean	treat the id as reference_id (true) or object_id (false)
  */
 function __construct($a_id = 0, $a_reference = true)
 {
     $this->initType();
     parent::ilObject($a_id, $a_reference);
 }