/**
  * Get item properties
  *
  * @return	array		array of property arrays:
  *						"alert" (boolean) => display as an alert property (usually in red)
  *						"property" (string) => property name
  *						"value" (string) => property value
  */
 function getProperties()
 {
     global $lng, $ilUser;
     $props = array();
     include_once "./Modules/Test/classes/class.ilObjTestAccess.php";
     //		if (!ilObjTestAccess::_lookupCreationComplete($this->obj_id))
     //		{
     //			$props[] = array("alert" => true, "property" => $lng->txt("status"),
     //				"value" => $lng->txt("tst_warning_test_not_complete"));
     //		}
     if (!ilObjTestAccess::_isOnline($this->obj_id)) {
         $props[] = array("alert" => true, "property" => $lng->txt("status"), "value" => $lng->txt("offline"));
     }
     // we cannot use ilObjTestAccess::_isOffline() because of text messages
     $onlineaccess = ilObjTestAccess::_lookupOnlineTestAccess($this->obj_id, $ilUser->id);
     if ($onlineaccess !== true) {
         $props[] = array("alert" => true, "property" => $lng->txt("status"), "value" => $onlineaccess);
     }
     return $props;
 }