• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The easiest way to know if it is HMVC?

Okay let say the site is under CodeIgniter.

What is the fastest or easiest or the right way to know,
If the site is under HMVC?

I can say by looking at the structure of the folder?

So how about you? What can you suggest?

Thanks in advanced.

Folder structure + HMVC add on. CI does not support HMVC out of the box, so it should be easy to spot.


Structure of the folders or

inside any controller, library, or model do the following
if ( method_exists(array(&$this->router), 'fetch_module') )
  // we got HMVC

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.