/** * @param string $type * * @return mixed */ public function loadProperty($type) { global $ilUser; if ($ilUser instanceof ilObjUser and $this->getId()) { $tab_prop = new ilTablePropertiesStorage(); return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type); } }
/** * Load table property * * @param string $type * @return mixed */ function loadProperty($type) { global $ilUser; if (is_object($ilUser) && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID) { include_once "./Services/Table/classes/class.ilTablePropertiesStorage.php"; $tab_prop = new ilTablePropertiesStorage(); return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type); } }