How do I reference my models in my module


not sure what the syntax is for using models created in own module.


class MymoduleModule extends CWebModule{

public function init()


	// this method is called when the module is being created

	// you may place code here to customize the module or the application

	// import the module-level models and components







in the module controllers:


Also, you can import your models application wide in config/main.php, like:




Ans use it the same as above.

Thank you