Instances are usually passes to views.
Author: Inpsyde GmbH, MarketPress, toscho
    /**
     * Callback for page output.
     *
     */
    public function render()
    {
        ?>
		<div class="wrap">
			<?php 
        print '<h2>' . $this->page_data->get_title() . '</h2>';
        $this->watcher->update('before_form');
        ?>
			<form action="<?php 
        echo $this->page_data->get_form_action();
        ?>
" method="post">
				<input type="hidden" name="action" value="<?php 
        echo $this->page_data->get_action_name();
        ?>
" />
				<input type="hidden" name="paged" value="<?php 
        echo $this->pagination_data->get_current_page();
        ?>
" />
			<?php 
        wp_nonce_field($this->page_data->get_nonce_action(), $this->page_data->get_nonce_name());
        $this->watcher->update('before_table');
        $this->watcher->update('show_table');
        $this->watcher->update('after_table');
        submit_button(esc_attr__('Save changes', 'multilingualpress'), 'primary', 'save', FALSE, array('style' => 'float:left'));
        $this->watcher->update('after_form_submit_button');
        ?>
			</form>
			<?php 
        $this->watcher->update('after_form');
        ?>
		</div>
		<?php 
    }
    /**
     * Callback for page output.
     *
     */
    public function render()
    {
        $current_page = $this->pagination_data->get_current_page();
        ?>
		<div class="wrap">
			<h1><?php 
        echo esc_html($this->setting->title());
        ?>
</h1>
			<?php 
        $this->watcher->update('before_form');
        ?>
			<form action="<?php 
        echo esc_url($this->setting->url());
        ?>
" method="post">
				<input type="hidden" name="action" value="<?php 
        echo esc_attr($this->setting->action());
        ?>
">
				<input type="hidden" name="paged" value="<?php 
        echo esc_attr($current_page);
        ?>
">
				<?php 
        echo \Inpsyde\MultilingualPress\nonce_field($this->nonce);
        ?>
				<?php 
        $this->watcher->update('before_table');
        ?>
				<?php 
        $this->watcher->update('show_table');
        ?>
				<?php 
        $this->watcher->update('after_table');
        ?>
				<?php 
        submit_button(esc_attr__('Save changes', 'multilingual-press'), 'primary', 'save', false, ['style' => 'float:left']);
        ?>
				<?php 
        $this->watcher->update('after_form_submit_button');
        ?>
			</form>
			<?php 
        $this->watcher->update('after_form');
        ?>
		</div>
		<?php 
    }