/** * Constructor * @access public * @param integer reference_id or object_id * @param boolean treat the id as reference_id (true) or object_id (false) */ function ilObjCourse($a_id = 0, $a_call_by_reference = true) { #define("ILIAS_MODULE","course"); #define("KEEP_IMAGE_PATH",1); $this->SUBSCRIPTION_DEACTIVATED = 1; $this->SUBSCRIPTION_CONFIRMATION = 2; $this->SUBSCRIPTION_DIRECT = 3; $this->SUBSCRIPTION_PASSWORD = 4; $this->SUBSCRIPTION_AUTOSUBSCRIPTION = 5; $this->ARCHIVE_DISABLED = 1; $this->ARCHIVE_READ = 2; $this->ARCHIVE_DOWNLOAD = 3; $this->ABO_ENABLED = 1; $this->ABO_DISABLED = 0; $this->SHOW_MEMBERS_ENABLED = 1; $this->SHOW_MEMBERS_DISABLED = 0; $this->setStatusDetermination(self::STATUS_DETERMINATION_LP); $this->type = "crs"; parent::__construct($a_id, $a_call_by_reference); }
/** * Constructor * @access public * @param integer reference_id or object_id * @param boolean treat the id as reference_id (true) or object_id (false) */ function ilObjFolder($a_id = 0, $a_call_by_reference = true) { $this->type = "fold"; parent::__construct($a_id, $a_call_by_reference); $this->lng->loadLanguageModule('fold'); }