Exemplo n.º 1
0
 public function getCurrentMode()
 {
     if ($this->mode === null) {
         $mode = ilLPObjSettings::_lookupDBMode($this->obj_id);
         if ($mode === null) {
             $mode = $this->getDefaultMode();
         }
         $this->mode = (int) $mode;
     }
     return $this->mode;
 }