/**
  * Get instance
  * @param ilObject $a_parent
  */
 public static function getInstance(ilObject $a_parent)
 {
     if (self::$instance) {
         return self::$instance;
     }
     return self::$instance = new self($a_parent);
 }
Beispiel #2
0
 /**
  * Show status panel
  */
 protected function showStatus($a_section)
 {
     include_once './Modules/Course/classes/Objectives/class.ilLOEditorStatus.php';
     $status = new ilLOEditorStatus($this->getParentObject());
     $status->setSection($a_section);
     $status->setCmdClass($this);
     $GLOBALS['tpl']->setRightContent($status->getHTML());
 }