Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions - (HMVC) - Version 3.1.9
#81

[eluser]Avatar[/eluser]
This works:
Code:
function run($module, $data = '', $method ='index')
    {
        $class =& modules::load($module);
        return (method_exists($class,$method))? $class->$method($data) : $class->index($data);
    }
Thank you.


Messages In This Thread
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 03:33 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 03:54 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 03:54 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 03:56 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 04:22 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 04:24 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 05:33 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 09:43 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 09:47 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 10:34 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 01:48 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 02:24 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 03:09 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 05:32 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 05:49 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 06:07 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 06:54 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-25-2008, 08:17 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 03:31 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 04:02 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 04:10 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 04:22 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 04:25 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 04:33 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 07:48 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 07:50 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 08:00 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 04:52 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 06:28 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 06:43 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 08:21 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 08:48 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 10:31 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-26-2008, 11:34 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 12:09 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 12:30 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 01:03 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 02:13 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 02:20 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 02:27 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 02:57 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 02:59 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 06:18 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 06:34 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 06:39 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 06:55 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 07:25 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 07:29 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 08:55 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 05:10 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-27-2008, 11:11 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-28-2008, 03:01 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-28-2008, 05:12 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-28-2008, 09:09 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-28-2008, 09:21 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-29-2008, 05:31 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-29-2008, 05:53 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-29-2008, 08:32 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-29-2008, 04:24 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 02-29-2008, 05:54 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-01-2008, 03:58 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-01-2008, 05:21 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-02-2008, 12:45 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-02-2008, 09:38 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-02-2008, 10:19 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-02-2008, 11:10 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 12:03 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 07:21 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 07:49 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 08:35 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:48 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 01:22 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 08:08 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 08:32 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 08:41 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 08:55 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:11 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:17 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:19 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:20 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:27 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:27 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 09:33 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-03-2008, 11:56 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-04-2008, 12:13 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 01:57 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 02:05 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 09:11 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 09:14 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 10:18 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 10:22 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 10:43 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 10:49 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 11:15 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-05-2008, 11:30 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 12:03 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 12:15 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 12:30 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 12:33 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 12:38 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 12:42 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 12:57 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 01:11 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 01:24 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 01:25 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 01:27 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 01:52 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 02:21 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 02:31 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 02:44 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 02:58 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 03:01 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 03:16 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 04:50 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 11:39 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-06-2008, 11:42 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 02:05 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 02:12 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 02:21 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 02:40 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 03:44 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 04:01 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 04:36 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 07:24 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 07:34 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 08:33 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 09:32 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 03-07-2008, 09:33 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 04-17-2008, 04:51 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 04-17-2008, 05:06 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 04-17-2008, 05:20 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 04-17-2008, 06:06 AM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 11-13-2008, 02:42 PM
Modular Extensions - (HMVC) - Version 3.1.9 - by El Forum - 01-10-2010, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB