Amazon_S3_And_CloudFront::render_page PHP Method

render_page() public method

Display the main settings page for the plugin
public render_page ( )
    function render_page()
    {
        $this->aws->render_view('header', array('page_title' => $this->get_plugin_page_title(), 'page' => 'as3cf'));
        $aws_client = $this->aws->get_client();
        if (is_wp_error($aws_client)) {
            $this->render_view('error-fatal', array('message' => $aws_client->get_error_message()));
        } else {
            $this->render_view('settings-tabs');
            do_action('as3cf_pre_settings_render');
            $this->render_view('settings');
            do_action('as3cf_post_settings_render');
        }
        $this->aws->render_view('footer');
    }
Amazon_S3_And_CloudFront