XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
functions.user.php
Go to the documentation of this file.
1 <?php
13 if (!defined("FRAMEWORKS_ART_FUNCTIONS_USER")):
14 define("FRAMEWORKS_ART_FUNCTIONS_USER", true);
15 
16 xoops_load('XoopsUserUtility');
17 
18 function mod_getIP($asString = false)
19 {
20  $GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', use XoopsUserUtility directly.");
21  return XoopsUserUtility::getIP($asString);
22 }
23 
24 function &mod_getUnameFromIds( $uid, $usereal = false, $linked = false )
25 {
26  $GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', use XoopsUserUtility directly.");
27  $ids = XoopsUserUtility::getUnameFromIds($uid, $usereal, $linked);
28  return $ids;
29 }
30 
31 function mod_getUnameFromId( $uid, $usereal = 0, $linked = false)
32 {
33  $GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', user XoopsUserUtility directly.");
34  return XoopsUserUtility::getUnameFromId($uid, $usereal, $linked);
35 }
36 
38 ?>