!' if not set */ function getP($uid, $cat, $key = null); /** * Sets a value in the user config cache * * Accepts raw output from the pconfig table * * @param int $uid User Id * @param string $cat Config category * @param string $key Config key * @param mixed $value Value to set */ function setP($uid, $cat, $key, $value); /** * Deletes a value from the user config cache * * @param int $uid User Id * @param string $cat Config category * @param string $key Config key * * @return bool true, if deleted */ function deleteP($uid, $cat, $key); /** * Checks if a value is set in the user config cache. * * @param int $uid User Id * @param string $cat Config category * @param string $key Config key * @return bool */ function hasP($uid, $cat, $key = null); /** * Returns the whole configuration cache * * @return array */ function getAll(); }