title: How to add autoload-function to CodeIgniter?
body: <p>I would like to be able to use OOP and create new objects in my controllers in CodeIgniter. So I need to use an autoload-function:</p>
  
  <pre><code>function __autoload( $classname )
  {
      require_once("../records/$classname.php");
  } 
  </code></pre>
  
  <p>But how can I add that to CodeIgniter?</p>