public static function getUser($userid = 0, $content_type = '', $profile = true) { // Legacy Code, just in case.. if (is_bool($content_type)) { return JCckLegacy::getUser($userid, $content_type, $profile); } if ($userid) { // jimport( 'cck.content.user' ); // return CCK_User::getUser( $userid, $profile, $preferences ); return JCckUser::getUser($userid, '', true); } if (!self::$_user) { self::_setUser($userid, $content_type, $profile); } return self::$_user; }