title: call external function from Yii controller
body: <p>I have an old php function in a .php files and want to include and call this from my controller.
  I copy my .php function file to myLib folder first and then defined my function in config file like this:</p>
  
  <pre><code>// autoloading model and component classes
      'import'=&gt;array(
          'application.models.*',
          'application.components.*',
          'application.myLib.*',
      ),
  </code></pre>
  
  <p>now how to call my function in controller??</p>
  
  <p>I call it simple by name but I get this error:</p>
  
  <p>Fatal error: Call to undefined function myFunction() in C:\xampp\htdocs\test\protected\controllers\TestController.php on line 10</p>