Application
Table of Contents
Classes
- Simple
- Standard
- AlertView
- Common
- Data
- Data Class
- Connection
- Database Connection
- Query
- Database Query
- Dissolution
- Gid
- Hansard
- Hansard
- Homepage
- MemberException
- Member Exception
- MemberMultipleException
- Member Multiple Exception
- Redis
- Footer
- Template Footer Renderer
- Header
- Template Header Renderer
- User
- User data for headers
- Renderer
- Template Renderer
- ByUsage
- Normal
- ParseArgs
- Search
- DebatesView
- LondonView
- LordsView
- NiView
- PbcView
- SectionView
- SeneddView
- SpView
- SpwransView
- WhallView
- WmsView
- WransView
- SPHomepage
- Stripe
- Subscription
- TestStripe
- Alert
- Alert Utilities
- Calendar
- Calendar Utilities
- Constituencies
- Constituency Utilities
- Gaze
- Gaze commonlib Wrapper
- Hansard
- Hansard Utilities
- House
- House Utilities
- LibFilter
- LibFilter
- Member
- Member Utilities
- Postcode
- Postcode Utilities
- Search
- Search Utilities
- Session
- Shuffle
- Wikipedia
- Utility functions related to Wikipedia.
- ALERT
- COMMENT
- COMMENTLIST
- COMMENTREPORT
- COMMENTREPORTLIST
- GLOSSARY
- GLOSSARYLIST
- RedirectException
- HANSARDLIST
- WMSLIST
- WHALLLIST
- NILIST
- SENEDDENLIST
- SENEDDCYLIST
- LMQLIST
- SPLIST
- SPWRANSLIST
- LORDSDEBATELIST
- DEBATELIST
- WRANSLIST
- StandingCommittee
- ParlDB
- Database Connection
- MEMBER
- PAGE
- SEARCHENGINE
- SEARCHLOG
- USER
- THEUSER
- UtilityTest
Constants
- ALLOWCOMMENTS = \true
- EPTYPE_GLOSSARY = 2
- EPTYPE_HANSARD = 1
- HOUSE_TYPE_COMMONS = 1
- HOUSE_TYPE_LONDON_ASSEMBLY = 6
- HOUSE_TYPE_LORDS = 2
- HOUSE_TYPE_NI = 3
- HOUSE_TYPE_ROYAL = 0
- HOUSE_TYPE_SCOTLAND = 4
- HOUSE_TYPE_WALES = 5
- LANGUAGE = 'en'
- LONGDATEFORMAT = "%e %B %Y"
- LONGERDATEFORMAT = "%A, %e %B %Y"
- POSTCODE_COOKIE = 'eppc'
- R_e = 6372.8
- SHORTDATEFORMAT = "%e %b %Y"
- SHORTDATEFORMAT_SQL = "%e %b %Y"
- STARTTIME = \getmicrotime()
- STARTTIMES = $rusage['ru_stime.tv_sec'] * 1000000 + $rusage['ru_stime.tv_usec']
- STARTTIMEU = $rusage['ru_utime.tv_sec'] * 1000000 + $rusage['ru_utime.tv_usec']
- TIMEFORMAT = "%l:%M %p"
- TIMEFORMAT_SQL = "%l:%i %p"
Functions
- add_vat() : mixed
- mlog() : mixed
- write_and_send_email() : mixed
- mlog() : mixed
- _sort() : mixed
- sort_by_stuff() : mixed
- write_and_send_email() : mixed
- text_html_to_email() : mixed
- change_locale() : mixed
- mlog() : mixed
- write_and_send_email() : mixed
- edit_banner_form() : mixed
- update_banner() : mixed
- add_topic() : mixed
- update_topic() : mixed
- add_content() : mixed
- add_image() : mixed
- delete_content() : mixed
- add_policy_sets() : mixed
- add_policies() : mixed
- gid_to_url() : mixed
- edit_featured_form() : mixed
- preview_featured() : mixed
- get_gid_from_url() : mixed
- update_featured() : mixed
- submit_photo() : mixed
- person_drop_down() : mixed
- display_photo_form() : mixed
- submit_attribution() : mixed
- display_attribution_form() : mixed
- edit_policy_form() : mixed
- list_policies() : mixed
- update_policy() : mixed
- subnav() : mixed
- person_drop_down() : mixed
- submit_message() : mixed
- display_message_form() : mixed
- view() : mixed
- get_template_contents() : mixed
- prepare_emails_for_deleting() : mixed
- prepare_emails_for_not_deleting() : mixed
- resolve() : mixed
- update_frontpage() : mixed
- scrub_form() : mixed
- edit_member_form() : mixed
- list_members() : mixed
- update_url() : mixed
- subnav() : mixed
- remove_form() : mixed
- list_ignored() : mixed
- api_convertURL_front() : mixed
- get_listurl() : mixed
- api_converturl_url_output() : mixed
- api_converturl_url() : mixed
- api_log_call() : mixed
- api_is_superuser_key() : mixed
- api_check_key() : mixed
- api_sidebar() : mixed
- api_output() : mixed
- api_header() : mixed
- api_error() : mixed
- api_output_php() : mixed
- api_output_rabx() : mixed
- api_output_xml() : mixed
- api_output_js() : mixed
- api_call_user_func_or_error() : mixed
- cond_parse_http_date() : mixed
- api_getAlerts_start_date() : mixed
- api_getBoundary_front() : mixed
- api_getBoundary_name() : mixed
- api_getComments_front() : mixed
- api_getComments_start_date() : mixed
- api_getComments_search() : mixed
- api_getComments() : mixed
- api_getComments_pid() : mixed
- api_getCommittee_front() : mixed
- api_getCommittee() : mixed
- api_getCommittee_name() : mixed
- api_getCommittee_date() : mixed
- api_getConstituencies_front() : mixed
- api_getConstituencies_search() : mixed
- _api_getConstituencies_search() : mixed
- api_getConstituencies_date() : mixed
- api_getConstituencies() : mixed
- api_getConstituencies_latitude() : mixed
- _api_getConstituencies_latitude() : mixed
- api_getConstituencies_longitude() : mixed
- api_getConstituencies_distance() : mixed
- _api_angle_between() : mixed
- api_getConstituency_front() : mixed
- api_getConstituency_postcode() : mixed
- api_getConstituency_name() : mixed
- _api_getConstituency_name() : mixed
- api_getDebates_front() : mixed
- api_getDebates_type() : mixed
- api_getDebates_date() : mixed
- api_getDebates_search() : mixed
- api_getDebates_person() : mixed
- api_getDebates_gid() : mixed
- api_getGeometry_front() : mixed
- api_getGeometry_name() : mixed
- _api_getGeometry_name() : mixed
- _api_cacheCheck() : mixed
- _api_ni_centroids() : mixed
- api_getHansard_front() : mixed
- api_getHansard_search() : mixed
- api_getHansard_person() : mixed
- _api_getHansard_date() : mixed
- _api_getHansard_year() : mixed
- _api_getHansard_search() : mixed
- _api_getHansard_gid() : mixed
- _api_getHansard_department() : mixed
- _api_getListObject() : mixed
- api_getLord_front() : mixed
- api_getLord_id() : mixed
- api_getLords_front() : mixed
- api_getLords_party() : mixed
- api_getLords_search() : mixed
- api_getLords_date() : mixed
- api_getLords() : mixed
- _api_getMembers_output() : mixed
- api_getMembers_party() : mixed
- api_getMembers_search() : mixed
- api_getMembers_date() : mixed
- api_getMembers() : mixed
- api_getMLA_front() : mixed
- api_getMLA_id() : mixed
- api_getMLA_postcode() : mixed
- api_getMLA_constituency() : mixed
- api_getMLAs_front() : mixed
- api_getMLAs_party() : mixed
- api_getMLAs_search() : mixed
- api_getMLAs_date() : mixed
- api_getMLAs() : mixed
- api_getMP_front() : mixed
- api_getMP_id() : mixed
- api_getMP_postcode() : mixed
- api_getMP_constituency() : mixed
- api_getMPInfo_front() : mixed
- api_getMPinfo_id() : mixed
- api_getMPinfo_fields() : mixed
- api_getMPs_front() : mixed
- api_getMPs_party() : mixed
- api_getMPs_search() : mixed
- api_getMPs_date() : mixed
- api_getMPs() : mixed
- api_getMPsInfo_front() : mixed
- _api_getMPsInfo_id() : mixed
- api_getMPsInfo_id() : mixed
- api_getMPsInfo_fields() : mixed
- api_getMS_front() : mixed
- api_getMS_id() : mixed
- api_getMS_postcode() : mixed
- api_getMS_constituency() : mixed
- api_getMSP_front() : mixed
- api_getMSP_id() : mixed
- api_getMSP_postcode() : mixed
- api_getMSP_constituency() : mixed
- api_getMSPs_front() : mixed
- api_getMSPs_party() : mixed
- api_getMSPs_search() : mixed
- api_getMSPs_date() : mixed
- api_getMSPs() : mixed
- api_getMSs_front() : mixed
- api_getMSs_party() : mixed
- api_getMSs_search() : mixed
- api_getMSs_date() : mixed
- api_getMSs() : mixed
- api_getPerson_front() : mixed
- _api_getPerson_row() : mixed
- api_getPerson_id() : mixed
- _api_getPerson_output() : mixed
- api_getPerson_constituency() : mixed
- api_getPerson_postcode() : mixed
- _api_getPerson_constituency() : mixed
- api_getQuota_front() : mixed
- api_getQuota() : mixed
- api_getWMS_front() : mixed
- api_getWMS_date() : mixed
- api_getWMS_year() : mixed
- api_getWMS_search() : mixed
- api_getWMS_person() : mixed
- api_getWMS_gid() : mixed
- api_getWMS_department() : mixed
- api_getWrans_front() : mixed
- api_getWrans_date() : mixed
- api_getWrans_year() : mixed
- api_getWrans_search() : mixed
- api_getWrans_person() : mixed
- api_getWrans_gid() : mixed
- api_getWrans_department() : mixed
- stripe_twfy_sub() : mixed
- stripe_reset_quota() : mixed
- api_documentation_front() : mixed
- api_documentation_explorer() : mixed
- api_front_page() : mixed
- logged_out() : mixed
- has_no_keys() : mixed
- get_keys() : mixed
- list_keys() : mixed
- create_key() : mixed
- check_payment_intent() : mixed
- parse_bill() : mixed
- read_amendments() : mixed
- parse_amendments() : mixed
- calendar_summary() : mixed
- calendar_date() : mixed
- sidebar_calendars() : mixed
- signup_form() : mixed
- freeourbills_styles() : mixed
- freeourbills_share_details() : mixed
- freeourbills_share_form() : mixed
- freeourbills_email_friends_link() : mixed
- freeourbills_share_page() : mixed
- freeourbills_sharethis_link() : mixed
- 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
- out() : mixed
- news_format_body() : mixed
- news_format_ref() : mixed
- news_individual_link() : mixed
- postcode_error() : mixed
- fetch_mp() : mixed
- pick_multiple() : mixed
- member_redirect() : mixed
- person_history() : mixed
- register_history() : mixed
- by_name_ref() : mixed
- parse_file() : mixed
- _load_file() : mixed
- front_page() : mixed
- show_register() : mixed
- by_name() : mixed
- canonicalise_data() : mixed
- _clean() : mixed
- clean_diff() : mixed
- prettify() : mixed
- cat_heading() : mixed
- span_row() : mixed
- display_form() : mixed
- confirm_error() : mixed
- display_page() : mixed
- display_page() : mixed
- voteerror() : mixed
- recess_prettify() : mixed
- rdio() : mixed
- print_voter() : mixed
- twfy_debug() : mixed
- exception_handler() : mixed
- error_handler() : mixed
- vardump() : mixed
- adodb_backtrace() : mixed
- getmicrotime() : mixed
- twfy_debug_timestamp() : mixed
- format_timestamp() : mixed
- format_date() : mixed
- format_time() : mixed
- relative_time() : mixed
- parse_date() : mixed
- slugify() : mixed
- strip_tags_tospaces() : mixed
- trim_characters() : mixed
- filter_user_input() : mixed
- Filters user input to remove unwanted HTML tags etc
- prepare_comment_for_display() : mixed
- htmlentities_notags() : mixed
- _htmlentities() : mixed
- _htmlspecialchars() : mixed
- get_canonical_gid() : mixed
- fix_gid_from_db() : mixed
- gid_to_anchor() : mixed
- preg_replacement_quote() : mixed
- send_template_email() : mixed
- twfy_verp_envelope_sender() : mixed
- send_email() : mixed
- get_http_var() : mixed
- get_cookie_var() : mixed
- hidden_form_vars() : mixed
- hidden_vars() : mixed
- make_ranking() : mixed
- make_plural() : mixed
- entities_to_numbers() : mixed
- make_member_url() : mixed
- member_full_name() : mixed
- by_peer_name() : mixed
- prettify_office() : mixed
- major_summary() : mixed
- _major_summary_title() : mixed
- score_to_strongly() : mixed
- valid_url() : mixed
- redirect() : mixed
- cache_version() : mixed
Constants
ALLOWCOMMENTS
public
mixed
ALLOWCOMMENTS
= \true
EPTYPE_GLOSSARY
public
mixed
EPTYPE_GLOSSARY
= 2
EPTYPE_HANSARD
public
mixed
EPTYPE_HANSARD
= 1
HOUSE_TYPE_COMMONS
public
mixed
HOUSE_TYPE_COMMONS
= 1
HOUSE_TYPE_LONDON_ASSEMBLY
public
mixed
HOUSE_TYPE_LONDON_ASSEMBLY
= 6
HOUSE_TYPE_LORDS
public
mixed
HOUSE_TYPE_LORDS
= 2
HOUSE_TYPE_NI
public
mixed
HOUSE_TYPE_NI
= 3
HOUSE_TYPE_ROYAL
public
mixed
HOUSE_TYPE_ROYAL
= 0
HOUSE_TYPE_SCOTLAND
public
mixed
HOUSE_TYPE_SCOTLAND
= 4
HOUSE_TYPE_WALES
public
mixed
HOUSE_TYPE_WALES
= 5
LANGUAGE
public
mixed
LANGUAGE
= 'en'
LONGDATEFORMAT
public
mixed
LONGDATEFORMAT
= "%e %B %Y"
LONGERDATEFORMAT
public
mixed
LONGERDATEFORMAT
= "%A, %e %B %Y"
POSTCODE_COOKIE
public
mixed
POSTCODE_COOKIE
= 'eppc'
R_e
public
mixed
R_e
= 6372.8
SHORTDATEFORMAT
public
mixed
SHORTDATEFORMAT
= "%e %b %Y"
SHORTDATEFORMAT_SQL
public
mixed
SHORTDATEFORMAT_SQL
= "%e %b %Y"
STARTTIME
public
mixed
STARTTIME
= \getmicrotime()
STARTTIMES
public
mixed
STARTTIMES
= $rusage['ru_stime.tv_sec'] * 1000000 + $rusage['ru_stime.tv_usec']
STARTTIMEU
public
mixed
STARTTIMEU
= $rusage['ru_utime.tv_sec'] * 1000000 + $rusage['ru_utime.tv_usec']
TIMEFORMAT
public
mixed
TIMEFORMAT
= "%l:%M %p"
TIMEFORMAT_SQL
public
mixed
TIMEFORMAT_SQL
= "%l:%i %p"
Functions
add_vat()
add_vat(mixed $pence) : mixed
Parameters
- $pence : mixed
mlog()
mlog(mixed $message) : mixed
Parameters
- $message : mixed
write_and_send_email()
write_and_send_email(mixed $current, mixed $data, mixed $template) : mixed
Parameters
- $current : mixed
- $data : mixed
- $template : mixed
mlog()
mlog(mixed $message) : mixed
Parameters
- $message : mixed
_sort()
_sort(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed
sort_by_stuff()
sort_by_stuff(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed
write_and_send_email()
write_and_send_email(mixed $current, mixed $text, mixed $html, mixed $template) : mixed
Parameters
- $current : mixed
- $text : mixed
- $html : mixed
- $template : mixed
text_html_to_email()
text_html_to_email(mixed $s) : mixed
Parameters
- $s : mixed
change_locale()
change_locale(mixed $lang) : mixed
Parameters
- $lang : mixed
mlog()
mlog(mixed $message) : mixed
Parameters
- $message : mixed
write_and_send_email()
write_and_send_email(mixed $current, mixed $data, mixed $change, mixed $template) : mixed
Parameters
- $current : mixed
- $data : mixed
- $change : mixed
- $template : mixed
edit_banner_form()
edit_banner_form() : mixed
update_banner()
update_banner() : mixed
add_topic()
add_topic(mixed $topic) : mixed
Parameters
- $topic : mixed
update_topic()
update_topic(mixed $topic) : mixed
Parameters
- $topic : mixed
add_content()
add_content(mixed $topic) : mixed
Parameters
- $topic : mixed
add_image()
add_image(mixed $topic) : mixed
Parameters
- $topic : mixed
delete_content()
delete_content(mixed $topic) : mixed
Parameters
- $topic : mixed
add_policy_sets()
add_policy_sets(mixed $topic) : mixed
Parameters
- $topic : mixed
add_policies()
add_policies(mixed $topic) : mixed
Parameters
- $topic : mixed
gid_to_url()
gid_to_url(mixed $gid) : mixed
Parameters
- $gid : mixed
edit_featured_form()
edit_featured_form() : mixed
preview_featured()
preview_featured() : mixed
get_gid_from_url()
get_gid_from_url(mixed $url) : mixed
Parameters
- $url : mixed
update_featured()
update_featured() : mixed
submit_photo()
submit_photo() : mixed
person_drop_down()
person_drop_down() : mixed
display_photo_form()
display_photo_form([mixed $errors = array() ]) : mixed
Parameters
- $errors : mixed = array()
submit_attribution()
submit_attribution() : mixed
display_attribution_form()
display_attribution_form([mixed $errors = array() ]) : mixed
Parameters
- $errors : mixed = array()
edit_policy_form()
edit_policy_form() : mixed
list_policies()
list_policies() : mixed
update_policy()
update_policy() : mixed
subnav()
subnav() : mixed
person_drop_down()
person_drop_down() : mixed
submit_message()
submit_message() : mixed
display_message_form()
display_message_form([mixed $errors = array() ]) : mixed
Parameters
- $errors : mixed = array()
view()
view(mixed $REPORT, mixed $COMMENT, mixed $FORMURL) : mixed
Parameters
- $REPORT : mixed
- $COMMENT : mixed
- $FORMURL : mixed
get_template_contents()
get_template_contents(mixed $template) : mixed
Parameters
- $template : mixed
prepare_emails_for_deleting()
prepare_emails_for_deleting(mixed $REPORT, mixed $COMMENT, mixed $FORMURL) : mixed
Parameters
- $REPORT : mixed
- $COMMENT : mixed
- $FORMURL : mixed
prepare_emails_for_not_deleting()
prepare_emails_for_not_deleting(mixed $REPORT, mixed $COMMENT, mixed $FORMURL) : mixed
Parameters
- $REPORT : mixed
- $COMMENT : mixed
- $FORMURL : mixed
resolve()
resolve(mixed $REPORT, mixed $COMMENT) : mixed
Parameters
- $REPORT : mixed
- $COMMENT : mixed
update_frontpage()
update_frontpage(mixed $topics) : mixed
Parameters
- $topics : mixed
scrub_form()
scrub_form(mixed $email) : mixed
Parameters
- $email : mixed
edit_member_form()
edit_member_form() : mixed
list_members()
list_members() : mixed
update_url()
update_url() : mixed
subnav()
subnav() : mixed
remove_form()
remove_form() : mixed
list_ignored()
list_ignored() : mixed
api_convertURL_front()
api_convertURL_front() : mixed
get_listurl()
get_listurl(mixed $q) : mixed
Parameters
- $q : mixed
api_converturl_url_output()
api_converturl_url_output(mixed $q) : mixed
Parameters
- $q : mixed
api_converturl_url()
api_converturl_url(mixed $url) : mixed
Parameters
- $url : mixed
api_log_call()
api_log_call(mixed $key) : mixed
Parameters
- $key : mixed
api_is_superuser_key()
api_is_superuser_key(mixed $key) : mixed
Parameters
- $key : mixed
api_check_key()
api_check_key(mixed $key) : mixed
Parameters
- $key : mixed
api_sidebar()
api_sidebar(mixed $subscription) : mixed
Parameters
- $subscription : mixed
api_output()
api_output(mixed $arr[, mixed $last_mod = null ]) : mixed
Parameters
- $arr : mixed
- $last_mod : mixed = null
api_header()
api_header(mixed $o[, mixed $last_mod = null ]) : mixed
Parameters
- $o : mixed
- $last_mod : mixed = null
api_error()
api_error(mixed $e) : mixed
Parameters
- $e : mixed
api_output_php()
api_output_php(mixed $arr) : mixed
Parameters
- $arr : mixed
api_output_rabx()
api_output_rabx(mixed $arr) : mixed
Parameters
- $arr : mixed
api_output_xml()
api_output_xml(mixed $v) : mixed
Parameters
- $v : mixed
api_output_js()
api_output_js(mixed $v[, mixed $level = 0 ]) : mixed
Parameters
- $v : mixed
- $level : mixed = 0
api_call_user_func_or_error()
api_call_user_func_or_error(mixed $function, mixed $params, mixed $error, mixed $type) : mixed
Parameters
- $function : mixed
- $params : mixed
- $error : mixed
- $type : mixed
cond_parse_http_date()
cond_parse_http_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getAlerts_start_date()
api_getAlerts_start_date(mixed $start_date) : mixed
Parameters
- $start_date : mixed
api_getBoundary_front()
api_getBoundary_front() : mixed
api_getBoundary_name()
api_getBoundary_name(mixed $name) : mixed
Parameters
- $name : mixed
api_getComments_front()
api_getComments_front() : mixed
api_getComments_start_date()
api_getComments_start_date(mixed $start_date) : mixed
Parameters
- $start_date : mixed
api_getComments_search()
api_getComments_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getComments()
api_getComments() : mixed
api_getComments_pid()
api_getComments_pid(mixed $pid) : mixed
Parameters
- $pid : mixed
api_getCommittee_front()
api_getCommittee_front() : mixed
api_getCommittee()
api_getCommittee() : mixed
api_getCommittee_name()
api_getCommittee_name(mixed $name) : mixed
Parameters
- $name : mixed
api_getCommittee_date()
api_getCommittee_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getConstituencies_front()
api_getConstituencies_front() : mixed
api_getConstituencies_search()
api_getConstituencies_search(mixed $s) : mixed
Parameters
- $s : mixed
_api_getConstituencies_search()
_api_getConstituencies_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getConstituencies_date()
api_getConstituencies_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getConstituencies()
api_getConstituencies([mixed $date = 'now()' ]) : mixed
Parameters
- $date : mixed = 'now()'
api_getConstituencies_latitude()
api_getConstituencies_latitude(mixed $lat) : mixed
Parameters
- $lat : mixed
_api_getConstituencies_latitude()
_api_getConstituencies_latitude(mixed $lat, mixed $lon, mixed $d) : mixed
Parameters
- $lat : mixed
- $lon : mixed
- $d : mixed
api_getConstituencies_longitude()
api_getConstituencies_longitude(mixed $lon) : mixed
Parameters
- $lon : mixed
api_getConstituencies_distance()
api_getConstituencies_distance(mixed $d) : mixed
Parameters
- $d : mixed
_api_angle_between()
_api_angle_between(mixed $a1, mixed $a2) : mixed
Parameters
- $a1 : mixed
- $a2 : mixed
api_getConstituency_front()
api_getConstituency_front() : mixed
api_getConstituency_postcode()
api_getConstituency_postcode(mixed $pc) : mixed
Parameters
- $pc : mixed
api_getConstituency_name()
api_getConstituency_name(mixed $constituency) : mixed
Parameters
- $constituency : mixed
_api_getConstituency_name()
_api_getConstituency_name(mixed $constituency) : mixed
Parameters
- $constituency : mixed
api_getDebates_front()
api_getDebates_front() : mixed
api_getDebates_type()
api_getDebates_type(mixed $t) : mixed
Parameters
- $t : mixed
api_getDebates_date()
api_getDebates_date(mixed $d) : mixed
Parameters
- $d : mixed
api_getDebates_search()
api_getDebates_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getDebates_person()
api_getDebates_person(mixed $p) : mixed
Parameters
- $p : mixed
api_getDebates_gid()
api_getDebates_gid(mixed $p) : mixed
Parameters
- $p : mixed
api_getGeometry_front()
api_getGeometry_front() : mixed
api_getGeometry_name()
api_getGeometry_name(mixed $name) : mixed
Parameters
- $name : mixed
_api_getGeometry_name()
_api_getGeometry_name(mixed $name) : mixed
Parameters
- $name : mixed
_api_cacheCheck()
_api_cacheCheck(mixed $fn[, mixed $arg = '' ]) : mixed
Parameters
- $fn : mixed
- $arg : mixed = ''
_api_ni_centroids()
_api_ni_centroids() : mixed
api_getHansard_front()
api_getHansard_front() : mixed
api_getHansard_search()
api_getHansard_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getHansard_person()
api_getHansard_person(mixed $pid) : mixed
Parameters
- $pid : mixed
_api_getHansard_date()
_api_getHansard_date(mixed $type, mixed $d) : mixed
Parameters
- $type : mixed
- $d : mixed
_api_getHansard_year()
_api_getHansard_year(mixed $type, mixed $y) : mixed
Parameters
- $type : mixed
- $y : mixed
_api_getHansard_search()
_api_getHansard_search(mixed $array) : mixed
Parameters
- $array : mixed
_api_getHansard_gid()
_api_getHansard_gid(mixed $type, mixed $gid) : mixed
Parameters
- $type : mixed
- $gid : mixed
_api_getHansard_department()
_api_getHansard_department(mixed $type, mixed $dept) : mixed
Parameters
- $type : mixed
- $dept : mixed
_api_getListObject()
_api_getListObject(mixed $type) : mixed
Parameters
- $type : mixed
api_getLord_front()
api_getLord_front() : mixed
api_getLord_id()
api_getLord_id(mixed $id) : mixed
Parameters
- $id : mixed
api_getLords_front()
api_getLords_front() : mixed
api_getLords_party()
api_getLords_party(mixed $s) : mixed
Parameters
- $s : mixed
api_getLords_search()
api_getLords_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getLords_date()
api_getLords_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getLords()
api_getLords([mixed $date = 'now()' ]) : mixed
Parameters
- $date : mixed = 'now()'
_api_getMembers_output()
_api_getMembers_output(mixed $sql, mixed $params) : mixed
Parameters
- $sql : mixed
- $params : mixed
api_getMembers_party()
api_getMembers_party(mixed $house, mixed $s) : mixed
Parameters
- $house : mixed
- $s : mixed
api_getMembers_search()
api_getMembers_search(mixed $house, mixed $s) : mixed
Parameters
- $house : mixed
- $s : mixed
api_getMembers_date()
api_getMembers_date(mixed $house, mixed $date) : mixed
Parameters
- $house : mixed
- $date : mixed
api_getMembers()
api_getMembers(mixed $house[, mixed $date = 'now()' ]) : mixed
Parameters
- $house : mixed
- $date : mixed = 'now()'
api_getMLA_front()
api_getMLA_front() : mixed
api_getMLA_id()
api_getMLA_id(mixed $id) : mixed
Parameters
- $id : mixed
api_getMLA_postcode()
api_getMLA_postcode(mixed $pc) : mixed
Parameters
- $pc : mixed
api_getMLA_constituency()
api_getMLA_constituency(mixed $constituency) : mixed
Parameters
- $constituency : mixed
api_getMLAs_front()
api_getMLAs_front() : mixed
api_getMLAs_party()
api_getMLAs_party(mixed $s) : mixed
Parameters
- $s : mixed
api_getMLAs_search()
api_getMLAs_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getMLAs_date()
api_getMLAs_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getMLAs()
api_getMLAs([mixed $date = 'now()' ]) : mixed
Parameters
- $date : mixed = 'now()'
api_getMP_front()
api_getMP_front() : mixed
api_getMP_id()
api_getMP_id(mixed $id) : mixed
Parameters
- $id : mixed
api_getMP_postcode()
api_getMP_postcode(mixed $pc) : mixed
Parameters
- $pc : mixed
api_getMP_constituency()
api_getMP_constituency(mixed $constituency) : mixed
Parameters
- $constituency : mixed
api_getMPInfo_front()
api_getMPInfo_front() : mixed
api_getMPinfo_id()
api_getMPinfo_id(mixed $id) : mixed
Parameters
- $id : mixed
api_getMPinfo_fields()
api_getMPinfo_fields(mixed $f) : mixed
Parameters
- $f : mixed
api_getMPs_front()
api_getMPs_front() : mixed
api_getMPs_party()
api_getMPs_party(mixed $s) : mixed
Parameters
- $s : mixed
api_getMPs_search()
api_getMPs_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getMPs_date()
api_getMPs_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getMPs()
api_getMPs([mixed $date = 'now()' ]) : mixed
Parameters
- $date : mixed = 'now()'
api_getMPsInfo_front()
api_getMPsInfo_front() : mixed
_api_getMPsInfo_id()
_api_getMPsInfo_id(mixed $ids) : mixed
Parameters
- $ids : mixed
api_getMPsInfo_id()
api_getMPsInfo_id(mixed $ids) : mixed
Parameters
- $ids : mixed
api_getMPsInfo_fields()
api_getMPsInfo_fields(mixed $f) : mixed
Parameters
- $f : mixed
api_getMS_front()
api_getMS_front() : mixed
api_getMS_id()
api_getMS_id(mixed $id) : mixed
Parameters
- $id : mixed
api_getMS_postcode()
api_getMS_postcode(mixed $pc) : mixed
Parameters
- $pc : mixed
api_getMS_constituency()
api_getMS_constituency(mixed $constituency) : mixed
Parameters
- $constituency : mixed
api_getMSP_front()
api_getMSP_front() : mixed
api_getMSP_id()
api_getMSP_id(mixed $id) : mixed
Parameters
- $id : mixed
api_getMSP_postcode()
api_getMSP_postcode(mixed $pc) : mixed
Parameters
- $pc : mixed
api_getMSP_constituency()
api_getMSP_constituency(mixed $constituency) : mixed
Parameters
- $constituency : mixed
api_getMSPs_front()
api_getMSPs_front() : mixed
api_getMSPs_party()
api_getMSPs_party(mixed $s) : mixed
Parameters
- $s : mixed
api_getMSPs_search()
api_getMSPs_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getMSPs_date()
api_getMSPs_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getMSPs()
api_getMSPs([mixed $date = 'now()' ]) : mixed
Parameters
- $date : mixed = 'now()'
api_getMSs_front()
api_getMSs_front() : mixed
api_getMSs_party()
api_getMSs_party(mixed $s) : mixed
Parameters
- $s : mixed
api_getMSs_search()
api_getMSs_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getMSs_date()
api_getMSs_date(mixed $date) : mixed
Parameters
- $date : mixed
api_getMSs()
api_getMSs([mixed $date = 'now()' ]) : mixed
Parameters
- $date : mixed = 'now()'
api_getPerson_front()
api_getPerson_front() : mixed
_api_getPerson_row()
_api_getPerson_row(mixed $row[, mixed $has_party = false ]) : mixed
Parameters
- $row : mixed
- $has_party : mixed = false
api_getPerson_id()
api_getPerson_id(mixed $id[, mixed $house = '' ]) : mixed
Parameters
- $id : mixed
- $house : mixed = ''
_api_getPerson_output()
_api_getPerson_output(mixed $q[, mixed $flatten = false ]) : mixed
Parameters
- $q : mixed
- $flatten : mixed = false
api_getPerson_constituency()
api_getPerson_constituency(mixed $constituency, mixed $house) : mixed
Parameters
- $constituency : mixed
- $house : mixed
api_getPerson_postcode()
api_getPerson_postcode(mixed $pc, mixed $house) : mixed
Parameters
- $pc : mixed
- $house : mixed
_api_getPerson_constituency()
_api_getPerson_constituency(mixed $constituencies, mixed $house) : mixed
Parameters
- $constituencies : mixed
- $house : mixed
api_getQuota_front()
api_getQuota_front() : mixed
api_getQuota()
api_getQuota() : mixed
api_getWMS_front()
api_getWMS_front() : mixed
api_getWMS_date()
api_getWMS_date(mixed $d) : mixed
Parameters
- $d : mixed
api_getWMS_year()
api_getWMS_year(mixed $y) : mixed
Parameters
- $y : mixed
api_getWMS_search()
api_getWMS_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getWMS_person()
api_getWMS_person(mixed $pid) : mixed
Parameters
- $pid : mixed
api_getWMS_gid()
api_getWMS_gid(mixed $gid) : mixed
Parameters
- $gid : mixed
api_getWMS_department()
api_getWMS_department(mixed $dept) : mixed
Parameters
- $dept : mixed
api_getWrans_front()
api_getWrans_front() : mixed
api_getWrans_date()
api_getWrans_date(mixed $d) : mixed
Parameters
- $d : mixed
api_getWrans_year()
api_getWrans_year(mixed $y) : mixed
Parameters
- $y : mixed
api_getWrans_search()
api_getWrans_search(mixed $s) : mixed
Parameters
- $s : mixed
api_getWrans_person()
api_getWrans_person(mixed $pid) : mixed
Parameters
- $pid : mixed
api_getWrans_gid()
api_getWrans_gid(mixed $gid) : mixed
Parameters
- $gid : mixed
api_getWrans_department()
api_getWrans_department(mixed $dept) : mixed
Parameters
- $dept : mixed
stripe_twfy_sub()
stripe_twfy_sub(mixed $invoice) : mixed
Parameters
- $invoice : mixed
stripe_reset_quota()
stripe_reset_quota(mixed $subscription) : mixed
Parameters
- $subscription : mixed
api_documentation_front()
api_documentation_front(mixed $method, mixed $explorer) : mixed
Parameters
- $method : mixed
- $explorer : mixed
api_documentation_explorer()
api_documentation_explorer(mixed $method, mixed $explorer) : mixed
Parameters
- $method : mixed
- $explorer : mixed
api_front_page()
api_front_page([mixed $error = '' ]) : mixed
Parameters
- $error : mixed = ''
logged_out()
logged_out() : mixed
has_no_keys()
has_no_keys(mixed $user) : mixed
Parameters
- $user : mixed
get_keys()
get_keys(mixed $user) : mixed
Parameters
- $user : mixed
list_keys()
list_keys(mixed $keys) : mixed
Parameters
- $keys : mixed
create_key()
create_key(mixed $user) : mixed
Parameters
- $user : mixed
check_payment_intent()
check_payment_intent(mixed $invoice) : mixed
Parameters
- $invoice : mixed
parse_bill()
parse_bill(mixed $f) : mixed
Parameters
- $f : mixed
read_amendments()
read_amendments(mixed $f) : mixed
Parameters
- $f : mixed
parse_amendments()
parse_amendments() : mixed
calendar_summary()
calendar_summary() : mixed
calendar_date()
calendar_date(mixed $date) : mixed
Parameters
- $date : mixed
sidebar_calendars()
sidebar_calendars(mixed $data) : mixed
Parameters
- $data : mixed
signup_form()
signup_form() : mixed
freeourbills_styles()
freeourbills_styles() : mixed
freeourbills_share_details()
freeourbills_share_details() : mixed
freeourbills_share_form()
freeourbills_share_form() : mixed
freeourbills_email_friends_link()
freeourbills_email_friends_link() : mixed
freeourbills_share_page()
freeourbills_share_page() : mixed
freeourbills_sharethis_link()
freeourbills_sharethis_link() : mixed
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
out()
out(mixed $h1, mixed $h2, mixed $title) : mixed
Parameters
- $h1 : mixed
- $h2 : mixed
- $title : mixed
news_format_body()
news_format_body(mixed $content) : mixed
Parameters
- $content : mixed
news_format_ref()
news_format_ref(mixed $title) : mixed
Parameters
- $title : mixed
news_individual_link()
news_individual_link(mixed $date, mixed $title) : mixed
Parameters
- $date : mixed
- $title : mixed
postcode_error()
postcode_error(mixed $error) : mixed
Parameters
- $error : mixed
fetch_mp()
fetch_mp(mixed $pc, mixed $constituencies[, mixed $house = null ]) : mixed
Parameters
- $pc : mixed
- $constituencies : mixed
- $house : mixed = null
pick_multiple()
pick_multiple(mixed $pc, mixed $areas, mixed $area_type, mixed $house) : mixed
Parameters
- $pc : mixed
- $areas : mixed
- $area_type : mixed
- $house : mixed
member_redirect()
member_redirect(mixed &$MEMBER) : mixed
Parameters
- $MEMBER : mixed
person_history()
person_history(mixed $p) : mixed
Parameters
- $p : mixed
register_history()
register_history(mixed $f) : mixed
Parameters
- $f : mixed
by_name_ref()
by_name_ref(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed
parse_file()
parse_file(mixed $file, mixed $date, mixed $type, mixed &$out) : mixed
Parameters
- $file : mixed
- $date : mixed
- $type : mixed
- $out : mixed
_load_file()
_load_file(mixed $f) : mixed
Parameters
- $f : mixed
front_page()
front_page() : mixed
show_register()
show_register(mixed $d) : mixed
Parameters
- $d : mixed
by_name()
by_name(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed
canonicalise_data()
canonicalise_data(mixed $cat_data) : mixed
Parameters
- $cat_data : mixed
_clean()
_clean(mixed $s) : mixed
Parameters
- $s : mixed
clean_diff()
clean_diff(mixed $old, mixed $new) : mixed
Parameters
- $old : mixed
- $new : mixed
prettify()
prettify(mixed $s) : mixed
Parameters
- $s : mixed
cat_heading()
cat_heading(mixed $cat_type, mixed $date_pre, mixed $date_post[, mixed $table = true ]) : mixed
Parameters
- $cat_type : mixed
- $date_pre : mixed
- $date_post : mixed
- $table : mixed = true
span_row()
span_row(mixed $s[, mixed $heading = false ]) : mixed
Parameters
- $s : mixed
- $heading : mixed = false
display_form()
display_form(mixed $COMMENT[, mixed $errors = array() ]) : mixed
Parameters
- $COMMENT : mixed
- $errors : mixed = array()
confirm_error()
confirm_error() : mixed
display_page()
display_page([mixed $errors = array() ]) : mixed
Parameters
- $errors : mixed = array()
display_page()
display_page([mixed $errors = array() ]) : mixed
Parameters
- $errors : mixed = array()
voteerror()
voteerror(mixed $text) : mixed
Parameters
- $text : mixed
recess_prettify()
recess_prettify(mixed $day, mixed $month, mixed $year, mixed $body) : mixed
Parameters
- $day : mixed
- $month : mixed
- $year : mixed
- $body : mixed
rdio()
rdio(mixed $name, mixed $value, mixed $text, mixed $id[, mixed $required = false ][, mixed $checked = false ]) : mixed
Parameters
- $name : mixed
- $value : mixed
- $text : mixed
- $id : mixed
- $required : mixed = false
- $checked : mixed = false
print_voter()
print_voter(mixed $vote) : mixed
Parameters
- $vote : mixed
twfy_debug()
twfy_debug(mixed $header[, mixed $text = "" ]) : mixed
Parameters
- $header : mixed
- $text : mixed = ""
exception_handler()
exception_handler(mixed $e) : mixed
Parameters
- $e : mixed
error_handler()
error_handler(mixed $errno, mixed $errmsg, mixed $filename, mixed $linenum, mixed $vars) : mixed
Parameters
- $errno : mixed
- $errmsg : mixed
- $filename : mixed
- $linenum : mixed
- $vars : mixed
vardump()
vardump(mixed $blah) : mixed
Parameters
- $blah : mixed
adodb_backtrace()
adodb_backtrace([mixed $print = true ]) : mixed
Parameters
- $print : mixed = true
getmicrotime()
getmicrotime() : mixed
twfy_debug_timestamp()
twfy_debug_timestamp([mixed $label = "" ]) : mixed
Parameters
- $label : mixed = ""
format_timestamp()
format_timestamp(mixed $timestamp, mixed $format) : mixed
Parameters
- $timestamp : mixed
- $format : mixed
format_date()
format_date(mixed $date, mixed $format) : mixed
Parameters
- $date : mixed
- $format : mixed
format_time()
format_time(mixed $time, mixed $format) : mixed
Parameters
- $time : mixed
- $format : mixed
relative_time()
relative_time(mixed $datetime) : mixed
Parameters
- $datetime : mixed
parse_date()
parse_date(mixed $date) : mixed
Parameters
- $date : mixed
slugify()
slugify(mixed $text) : mixed
Parameters
- $text : mixed
strip_tags_tospaces()
strip_tags_tospaces(mixed $text) : mixed
Parameters
- $text : mixed
trim_characters()
trim_characters(mixed $text, mixed $start, mixed $length[, mixed $url_length = 60 ]) : mixed
Parameters
- $text : mixed
- $start : mixed
- $length : mixed
- $url_length : mixed = 60
filter_user_input()
Filters user input to remove unwanted HTML tags etc
filter_user_input(mixed $text, mixed $filter_type) : mixed
Parameters
- $text : mixed
- $filter_type : mixed
prepare_comment_for_display()
prepare_comment_for_display(mixed $text) : mixed
Parameters
- $text : mixed
htmlentities_notags()
htmlentities_notags(mixed $text) : mixed
Parameters
- $text : mixed
_htmlentities()
_htmlentities(mixed $s) : mixed
Parameters
- $s : mixed
_htmlspecialchars()
_htmlspecialchars(mixed $s) : mixed
Parameters
- $s : mixed
get_canonical_gid()
get_canonical_gid(mixed $gid) : mixed
Parameters
- $gid : mixed
fix_gid_from_db()
fix_gid_from_db(mixed $gid) : mixed
Parameters
- $gid : mixed
gid_to_anchor()
gid_to_anchor(mixed $gid) : mixed
Parameters
- $gid : mixed
preg_replacement_quote()
preg_replacement_quote(mixed $s) : mixed
Parameters
- $s : mixed
send_template_email()
send_template_email(mixed $data, mixed $merge[, mixed $bulk = false ][, mixed $want_bounces = false ][, mixed $lang = '' ]) : mixed
Parameters
- $data : mixed
- $merge : mixed
- $bulk : mixed = false
- $want_bounces : mixed = false
- $lang : mixed = ''
twfy_verp_envelope_sender()
twfy_verp_envelope_sender(mixed $recipient) : mixed
Parameters
- $recipient : mixed
send_email()
send_email(mixed $to, mixed $subject, mixed $message[, mixed $bulk = false ][, mixed $from = '' ][, mixed $want_bounces = false ][, mixed $html = '' ]) : mixed
Parameters
- $to : mixed
- $subject : mixed
- $message : mixed
- $bulk : mixed = false
- $from : mixed = ''
- $want_bounces : mixed = false
- $html : mixed = ''
get_http_var()
get_http_var(mixed $name[, mixed $default = '' ][, mixed $allow_array = false ]) : mixed
Parameters
- $name : mixed
- $default : mixed = ''
- $allow_array : mixed = false
get_cookie_var()
get_cookie_var(mixed $name[, mixed $default = '' ]) : mixed
Parameters
- $name : mixed
- $default : mixed = ''
hidden_form_vars()
hidden_form_vars([mixed $omit = array() ]) : mixed
Parameters
- $omit : mixed = array()
hidden_vars()
hidden_vars([mixed $omit = array() ]) : mixed
Parameters
- $omit : mixed = array()
make_ranking()
make_ranking(mixed $rank) : mixed
Parameters
- $rank : mixed
make_plural()
make_plural(mixed $word, mixed $number) : mixed
Parameters
- $word : mixed
- $number : mixed
entities_to_numbers()
entities_to_numbers(mixed $string) : mixed
Parameters
- $string : mixed
make_member_url()
make_member_url(mixed $name[, mixed $const = '' ][, mixed $house = HOUSE_TYPE_COMMONS ][, mixed $pid = null ]) : mixed
Parameters
- $name : mixed
- $const : mixed = ''
- $house : mixed = HOUSE_TYPE_COMMONS
- $pid : mixed = null
member_full_name()
member_full_name(mixed $house, mixed $title, mixed $given_name, mixed $family_name, mixed $lordofname) : mixed
Parameters
- $house : mixed
- $title : mixed
- $given_name : mixed
- $family_name : mixed
- $lordofname : mixed
by_peer_name()
by_peer_name(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed
prettify_office()
prettify_office(mixed $pos, mixed $dept) : mixed
Parameters
- $pos : mixed
- $dept : mixed
major_summary()
major_summary(mixed $data[, mixed $echo = true ]) : mixed
Parameters
- $data : mixed
- $echo : mixed = true
_major_summary_title()
_major_summary_title(mixed $major, mixed $data, mixed $LISTURL, mixed $daytext) : mixed
Parameters
- $major : mixed
- $data : mixed
- $LISTURL : mixed
- $daytext : mixed
score_to_strongly()
score_to_strongly(mixed $dmpscore) : mixed
Parameters
- $dmpscore : mixed
valid_url()
valid_url(mixed $url) : mixed
Parameters
- $url : mixed
redirect()
redirect(mixed $url[, mixed $code = 302 ]) : mixed
Parameters
- $url : mixed
- $code : mixed = 302
cache_version()
cache_version(mixed $file) : mixed
Parameters
- $file : mixed