title: Codeigniter: How to load Controller function in view file used in shortcode
body: <p>Please help 
  in View I want to call controller function
  Beacuse I have to use this in short code </p>
  
  <blockquote>
    <p>In controller</p>
  </blockquote>
  
  <pre><code>public function __construct() {
      parent::__construct();
      $this-&gt;Front = &amp; get_instance();
  }
  public function view() {
      $this-&gt;index();
      $this-&gt;load-&gt;view(view');
  }
  </code></pre>
  
  <blockquote>
    <p>In view</p>
  </blockquote>
  
  <pre><code>&lt;?=$this-&gt;Front-&gt;view();?&gt;
  </code></pre>