index.php
Table of Contents
Functions
- get_person_by_id() : mixed
- get_person_by_member_id() : mixed
- get_person_by_postcode() : mixed
- get_person_by_name() : mixed
- get_mp_by_constituency() : mixed
- get_regional_by_user_postcode() : mixed
- get_mp_by_user_postcode() : mixed
- member_redirect() : mixed
- Member Redirect
- person_list_page() : mixed
- person_error_page() : mixed
- person_summary_description() : mixed
- Person Positions Summary
- person_rebellion_rate() : string
- Person Rebellion Rate
- person_recent_appearances() : mixed
- person_useful_links() : mixed
- person_social_links() : mixed
- person_topics() : mixed
- constituency_previous_mps() : mixed
- constituency_future_mps() : mixed
- person_pbc_membership() : mixed
- person_register_interests() : mixed
- regional_list() : mixed
- policy_image() : mixed
- person_party_policy_diffs() : mixed
Functions
get_person_by_id()
get_person_by_id(mixed $pid) : mixed
Parameters
- $pid : mixed
get_person_by_member_id()
get_person_by_member_id(mixed $member_id) : mixed
Parameters
- $member_id : mixed
get_person_by_postcode()
get_person_by_postcode(mixed $pc) : mixed
Parameters
- $pc : mixed
get_person_by_name()
get_person_by_name(mixed $name[, mixed $const = '' ]) : mixed
Parameters
- $name : mixed
- $const : mixed = ''
get_mp_by_constituency()
get_mp_by_constituency(mixed $constituency) : mixed
Parameters
- $constituency : mixed
get_regional_by_user_postcode()
get_regional_by_user_postcode(mixed $pc, mixed $page) : mixed
Parameters
- $pc : mixed
- $page : mixed
get_mp_by_user_postcode()
get_mp_by_user_postcode(mixed $pc) : mixed
Parameters
- $pc : mixed
member_redirect()
Member Redirect
member_redirect(mixed &$MEMBER[, mixed $code = 301 ][, mixed $pagetype = NULL ]) : mixed
Redirect to the canonical page for a member.
Parameters
- $MEMBER : mixed
- $code : mixed = 301
- $pagetype : mixed = NULL
person_list_page()
person_list_page(mixed $ids) : mixed
Parameters
- $ids : mixed
person_error_page()
person_error_page(mixed $message) : mixed
Parameters
- $message : mixed
person_summary_description()
Person Positions Summary
person_summary_description(mixed $MEMBER) : mixed
Generate the summary of this person's held positions.
Parameters
- $MEMBER : mixed
person_rebellion_rate()
Person Rebellion Rate
person_rebellion_rate(MEMBER $member) : string
How often has this person rebelled against their party?
Parameters
- $member : MEMBER
-
The member to calculate rebellion rate for.
Return values
string —A HTML summary of this person's rebellion rate.
person_recent_appearances()
person_recent_appearances(mixed $member) : mixed
Parameters
- $member : mixed
person_useful_links()
person_useful_links(mixed $member) : mixed
Parameters
- $member : mixed
person_social_links()
person_social_links(mixed $member) : mixed
Parameters
- $member : mixed
person_topics()
person_topics(mixed $member) : mixed
Parameters
- $member : mixed
constituency_previous_mps()
constituency_previous_mps(mixed $member) : mixed
Parameters
- $member : mixed
constituency_future_mps()
constituency_future_mps(mixed $member) : mixed
Parameters
- $member : mixed
person_pbc_membership()
person_pbc_membership(mixed $member) : mixed
Parameters
- $member : mixed
person_register_interests()
person_register_interests(mixed $member, mixed $extra_info) : mixed
Parameters
- $member : mixed
- $extra_info : mixed
regional_list()
regional_list(mixed $pc, mixed $area_type, mixed $rep_type) : mixed
Parameters
- $pc : mixed
- $area_type : mixed
- $rep_type : mixed
policy_image()
policy_image(mixed $data, mixed $MEMBER, mixed $format) : mixed
Parameters
- $data : mixed
- $MEMBER : mixed
- $format : mixed
person_party_policy_diffs()
person_party_policy_diffs(mixed $MEMBER, mixed $policiesList, mixed $only_diffs) : mixed
Parameters
- $MEMBER : mixed
- $policiesList : mixed
- $only_diffs : mixed