1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
12: if (!defined('FRAMEWORKS_ART_FUNCTIONS_USER')):
13: define('FRAMEWORKS_ART_FUNCTIONS_USER', true);
14:
15: xoops_load('XoopsUserUtility');
16:
17: 18: 19: 20: 21:
22: function mod_getIP($asString = false)
23: {
24: $GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', use XoopsUserUtility directly.");
25:
26: return XoopsUserUtility::getIP($asString);
27: }
28:
29: 30: 31: 32: 33: 34: 35:
36: function &mod_getUnameFromIds($uid, $usereal = false, $linked = false)
37: {
38: $GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', use XoopsUserUtility directly.");
39: $ids = XoopsUserUtility::getUnameFromIds($uid, $usereal, $linked);
40:
41: return $ids;
42: }
43:
44: 45: 46: 47: 48: 49: 50:
51: function mod_getUnameFromId($uid, $usereal = 0, $linked = false)
52: {
53: $GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', user XoopsUserUtility directly.");
54:
55: return XoopsUserUtility::getUnameFromId($uid, $usereal, $linked);
56: }
57:
58: endif;
59: