// {{{ class DE_Binets
class DE_Binets extends DirEnumeration
{
- protected $from = 'binets_def';
+ protected $from = 'profile_binet_enum';
- protected $ac_join = 'INNER JOIN binets_ins ON (binets_def.id = binets_ins.binet_id)';
- protected $ac_unique = 'binets_ins.user_id';
+ protected $ac_join = 'INNER JOIN profile_binets ON (profile_binet_enum.id = profile_binets.binet_id)';
+ protected $ac_unique = 'profile_binets.user_id';
}
// }}}
// {{{ class DE_Sections
class DE_Sections extends DirEnumeration
{
- protected $from = 'sections';
+ protected $from = 'profile_section_enum';
- protected $ac_join = 'INNER JOIN profiles ON (profiles.section = sections.id)';
+ protected $ac_join = 'INNER JOIN profiles ON (profiles.section = profile_section_enum.id)';
protected $ac_unique = 'profiles.pid';
}
// }}}
protected $from = 'profile_education_enum';
protected $ac_join = 'INNER JOIN profile_education ON (profile_education.eduid = profile_education_enum.id)';
- protected $ac_unique = 'profile_education.uid';
+ protected $ac_unique = 'profile_education.pid';
}
// }}}
protected $from = 'profile_education_field_enum';
protected $ac_join = 'INNER JOIN profile_education ON (profile_education.fieldid = profile_education_field_enum.id)';
- protected $ac_unique = 'profile_education.uid';
+ protected $ac_unique = 'profile_education.pid';
}
// }}}
protected $from = 'profile_job_enum';
protected $ac_join = 'INNER JOIN profile_job ON (profile_job.jobid = profile_job_enum.id)';
- protected $ac_unique = 'profile_job.uid';
+ protected $ac_unique = 'profile_job.pid';
}
// }}}
protected $from = 'profile_job_sector_enum';
protected $ac_join = 'INNER JOIN profile_job ON (profile_job_sector_enum.id = profile_job.sectorid)';
- protected $ac_unique = 'profile_job.uid';
+ protected $ac_unique = 'profile_job.pid';
}
// }}}
protected $ac_join = 'INNER JOIN profile_networking ON (profile_networking.network_type = profile_networking_enum.network_type';
- protected $ac_unique = 'profile_networking.uid';
+ protected $ac_unique = 'profile_networking.pid';
}
// }}}
?>