コード例 #1
0
 /**
  * @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);
     }
 }
コード例 #2
0
 /**
  * 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);
     }
 }