title: Yii, using a module in main controller
body: <p>Trying to use modules in Yii and want to get access from main controller (SiteController) for module's methods.
  Create module with Gii, module name is Car.
  Trying get access to method search in RequestController, module Car.</p>
  
  <pre><code>echo Yii::app()-&gt;Car-&gt;Request-&gt;search();
  </code></pre>
  
  <p>And Yii talks me</p>
  
  <blockquote>
    <p>Property "CWebApplication.carhire" is not defined.</p>
  </blockquote>
  
  <p>Does anybody knows how to get access to module's methods from another controllers?
  Thanks</p>