Table of Contents
    
    Properties
    
            - 
    $cons_type
    
                         : mixed            
 
            - 
    $houses
    
                         : mixed            
 
            - 
    $mp_house
    
                         : mixed            
 
            - 
    $mp_url
    
                         : mixed            
 
            - 
    $page
    
                         : mixed            
 
            - 
    $recent_types
    
                         : mixed            
 
            - 
    $db
    
                         : mixed            
 
    
    Methods
    
            - 
    __construct()
    
                                 : mixed    
 
            - 
    display()
    
                                 : mixed    
 
            - 
    getFeaturedDebate()
    
                                 : mixed    
 
            - 
    getDebatesData()
    
                                 : mixed    
 
            - 
    getEditorialContent()
    
                                 : mixed    
 
            - 
    getFrontPageTopics()
    
                                 : mixed    
 
            - 
    getRegionalList()
    
                                 : mixed    
 
            - 
    getURLs()
    
                                 : mixed    
 
            - 
    getCalendarData()
    
                                 : mixed    
 
            - 
    getRecentDivisions()
    
                                 : mixed    
 
    
        
        
        
    
        
                    
    
        $cons_type
        
        
                                
    
    
    
    
    protected
        mixed
    $cons_type
     = 'WMC'
    
    
    
                    
    
        $houses
        
        
                                
    
    
    
    
    protected
        mixed
    $houses
     = array(1, 101)
    
    
    
                    
    
        $mp_house
        
        
                                
    
    
    
    
    protected
        mixed
    $mp_house
     = 1
    
    
    
                    
    
        $mp_url
        
        
                                
    
    
    
    
    protected
        mixed
    $mp_url
     = 'yourmp'
    
    
    
                    
    
        $page
        
        
                                
    
    
    
    
    protected
        mixed
    $page
     = 'overview'
    
    
    
                    
    
        $recent_types
        
        
                                
    
    
    
    
    protected
        mixed
    $recent_types
     = array('DEBATELIST' => array('recent_debates', 'debatesfront', 'Commons debates'), 'LORDSDEBATELIST' => array('recent_debates', 'lordsdebatesfront', 'Lords debates'), 'WHALLLIST' => array('recent_debates', 'whallfront', 'Westminster Hall debates'), 'WMSLIST' => array('recent_wms', 'wmsfront', 'Written ministerial statements'), 'WRANSLIST' => array('recent_wrans', 'wransfront', 'Written answers'), 'StandingCommittee' => array('recent_pbc_debates', 'pbcfront', 'Public Bill committees'))
    
    
    
                    
    
        $db
        
        
                                
    
    
    
    
    private
        mixed
    $db
    
    
    
    
            
            
        
                    
    
        __construct()
        
    
    
    
    
    public
                    __construct() : mixed
    
        
    
    
    
    
                    
    
        display()
        
    
    
    
    
    public
                    display() : mixed
    
        
    
    
    
    
                    
    
        getFeaturedDebate()
        
    
    
    
    
    public
                    getFeaturedDebate(mixed $gid, mixed $title, mixed $context, mixed $related) : mixed
    
        
    
        Parameters
    
                    - 
                $gid
                : mixed
                            
 
            - 
                
            
 
                    - 
                $title
                : mixed
                            
 
            - 
                
            
 
                    - 
                $context
                : mixed
                            
 
            - 
                
            
 
                    - 
                $related
                : mixed
                            
 
            - 
                
            
 
            
    
    
                    
    
        getDebatesData()
        
    
    
    
    
    protected
                    getDebatesData() : mixed
    
        
    
    
    
    
                    
    
        getEditorialContent()
        
    
    
    
    
    protected
                    getEditorialContent() : mixed
    
        
    
    
    
    
                    
    
        getFrontPageTopics()
        
    
    
    
    
    protected
                    getFrontPageTopics() : mixed
    
        
    
    
    
    
                    
    
        getRegionalList()
        
    
    
    
    
    protected
                    getRegionalList() : mixed
    
        
    
    
    
    
                    
    
        getURLs()
        
    
    
    
    
    protected
                    getURLs() : mixed
    
        
    
    
    
    
                    
    
        getCalendarData()
        
    
    
    
    
    private
                    getCalendarData() : mixed
    
        
    
    
    
    
                    
    
        getRecentDivisions()
        
    
    
    
    
    private
                    getRecentDivisions() : mixed