public static function getHides($forPlugin) { $labels = array(); $UD = new mUserdata(); $UD->addAssocV3("typ", "=", "hideF"); $UD->addAssocV3("UserID", "=", $_SESSION["S"]->getCurrentUser()->getID()); $UD->addAssocV3("name", "LIKE", "hideField" . $forPlugin . ":%"); try { $UD->getNextEntry(); } catch (StorageException $e) { return $labels; } $UD->resetPointer(); while ($sUD = $UD->getNextEntry()) { $A = $sUD->getA(); $s = split(":", $A->name); $labels[$s[1]] = $A->wert; } return $labels; }