09-30-2009, 09:37 AM
[eluser]shinokada[/eluser]
I read the user guide about loader class.
I understood most of them except, $this->load->vars($array.
I came to a code like this and I don't really understand what's going on here.
Could anyone explain about $this->load->vars($array) for me please?
Thanks in advance.
I read the user guide about loader class.
I understood most of them except, $this->load->vars($array.
I came to a code like this and I don't really understand what's going on here.
Code:
function index()
{
$data['heading'] = 'FreakAuth examples';
$data['page'] = $this->config->item('FAL_template_dir').'template/examples/examples';
$this->load->vars($data);
$this->load->view($this->_container);
}
Could anyone explain about $this->load->vars($array) for me please?
Thanks in advance.