21 defined(
'XOOPS_ROOT_PATH') or die("XOOPS root path not defined");
25 function __construct()
47 parent::__construct(
$db,
'profile_visibility',
'profilevisibility',
'field_id');
60 $profile_groups[] = $user_groups[] = 0;
61 $sql =
"SELECT field_id FROM {$this->table} WHERE profile_group IN (" . implode(
',', $profile_groups) .
")";
62 $sql .=
" AND user_group IN (" . implode(
',', $user_groups) .
")";
65 while (list($field_id) = $this->db->fetchRow(
$result)) {
66 $field_ids[] = $field_id;