[eluser]WebbHelp[/eluser]
Hi!
I am a CodeIgniter beginner and got some question about send data to the page I load.
1. I think when I write:
$this->general['title'] = 'Welcome to my Blog';
$this->load->view('blog_view',$this->general);
The view funktion "convert" my array that I send with the function and create variables of it so I can get the variables by:
echo $title;
Is that right?
2. And, if I use $this-> is that; make variable public in the whole class?
3. You know when I write base_url(); I get the "base url".
Where do I get that class from?
I mean, I don't need to write for example: $this->helper->url('base_url'); to get it //If I have loaded my url helper class before.
Where do I get that class from?
Thanks //WebbHelp