Yii Framework Forum: dynamic modules loading - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

dynamic modules loading Rate Topic: -----

#1 User is offline   yiimann 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 102
  • Joined: 19-December 09

Posted 25 March 2010 - 08:16 AM

I'm trying to make a dynamic modules loading system. I would have a core module that extends CModule that I import in my main.php config file. This core module would load other modules following user's roles. I'm trying to call a function in the core module that would load those modules but I don't know how to access that function from my BaseController.
I don't know if i'm doing things right for this system, if you have a better idea for dynamic modules loading, let me know.

Thanks for the advice
0

#2 User is offline   Y!! 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 978
  • Joined: 18-June 09

Posted 25 March 2010 - 08:21 AM

Not sure if this is much related, but maybe it can help you.
0

#3 User is offline   yiimann 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 102
  • Joined: 19-December 09

Posted 25 March 2010 - 08:31 AM

thanks; looks like I can make use of this but I hardly understand what it really does.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users