CodeIgniter Forums
variable controller to plugins - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: variable controller to plugins (/thread-13068.html)



variable controller to plugins - El Forum - 11-10-2008

[eluser]syntaxerror[/eluser]
hi,
can anyone please tell me how can i call a variable in controller
Code:
$data['title'] = "DSEvaluator";
        $data['header'] = "DSEvaluator";
        $data['ver'] = "Beta";
        $data['process_ke'] = "QC - KE";
        $data['process_kv'] = "QC - KV";
        $this->load->view('input_dir_ufpb_wp', $data);
        $this->load->plugin('header',$data);

to plugins that ive made
Code:
<div id="container">
              <div class="header_left"">
                 <font size="+3" color = '#a5c11e'>&lt;?php echo $title; ?&gt;</font>
             </div>
             <font size="+2" color = '#a5c11e'>UFPB - WP</font><font size ="+1" color = '#a5c11e'> <br> QC - KE</font>
            </div>

thanks