Inpsyde\MultilingualPress\Common\Setting\SettingsBoxView::render PHP Method

render() public method

Renders the complete settings box content.
Since: 3.0.0
public render ( ) : void
return void
    public function render()
    {
        ?>
		<div class="mlp-extra-settings-box" id="<?php 
        echo esc_attr($this->model->id());
        ?>
">
			<?php 
        $this->render_title();
        $this->render_description();
        echo $this->model->markup();
        ?>
		</div>
		<?php 
    }

Usage Example

 /**
  * Displays the module options page form fields.
  *
  * @since 0.1
  *
  * @return void
  */
 public function draw_options_page_form_fields()
 {
     $data = new Mlp_Quicklink_Positions_Data($this->nonce);
     $box = new SettingsBoxView($data);
     $box->render();
 }