<?php (defined('BASEPATH')) OR exit('No direct script access allowed');

/**
 * Modular Extensions - HMVC
 * Adapted from wiredesignz codeigniter-modular-extensions-hmvc 5.5
 *
 * Allows views to be loaded and returned as a string for use as partials.
 */
#[\AllowDynamicProperties]
class MX_View
{
	public static function load($view, $vars = array(), $return = TRUE)
	{
		return CI::$APP->load->view($view, $vars, $return);
	}
}
