I've got a controller-view. I want to draw out the content of the view with one of my function from the controller. 

For example **mycontentview**:

```
<h1>$parameter</h2>;

```

I load this view in **$data** in **MyController**:

```
public function index(){
    $data['parameter'] = "some parameter";
    $body = $this->load->view('mycontentview', $data, true);
    $data = array();
    $data['content'] = $body;

    $this->load->view('templates/header');
    $this->load->view('indexview', $data); 
    $this->load->view('templates/footer');
}

public function new_content($param1){
    $data['parameter'] = $param1;
    $body = $this->load->view('mycontentview', $data, true);
    $data = array();
    $data['content'] = $body;

    $this->load->view('templates/header');
    $this->load->view('indexview', $data); 
    $this->load->view('templates/footer');
}

```

So for the first time I load in the ***indexview***. There I can echo the ***$body*** which contain the content from ***mycontentview*** and on a button click I want to call the ***new\_content*** function with a parameter. How can I do it?