You are here

function _adsense_get_profile_fields in Google AdSense integration 5

1 call to _adsense_get_profile_fields()
adsense_admin_settings in ./adsense.module

File

./adsense.module, line 1622

Code

function _adsense_get_profile_fields() {
  $profile = array(
    0 => 'None',
  );
  $result = db_query("SELECT fid, title FROM {profile_fields} ORDER BY fid");
  while ($row = db_fetch_object($result)) {
    $profile[$row->fid] = $row->title;
  }
  return $profile;
}