title: CodeIgniter variables in constructor
body: <p><br />
  I looked up the topics around, but I didn't see something for my case.<br />
  So, I have controller filled up with methods, and a construcor which loads the models that i commonly use in this specific controller.
  Everything works fine.
  I needed to set an array in the constructor like</p>
  
  <pre><code>$data["content"]["something"] = "bla bla";
  </code></pre>
  
  <p>Thats all. So I pass the $data["content"] to the view loader, and I'm expecting to have access to </p>
  
  <pre><code>$something
  </code></pre>
  
  <p>, but no. It takes it as undefined variable, but why? When I put it in the specific method everything works fine, but when it is in the constructor it says undefined.
  Any ideas?
  Thank you! :)</p>