Welcome Guest, Not a member yet? Register   Sign In
Modular Separation - PHP5 (Modules)

[eluser]AndrewMalachel[/eluser]
This Library is great!!!

I'd have tested in my web, and it works fine...
It's easier now to separate my works... Big Grin

But I wonder, can I do the same with the core folder?

Here's what I mean,
If I had :
Code:
- application
-- core
.....
-- modules
--- admin
---- controllers
---- models
---- views
--- api
---- controllers
---- models
---- views
--- helptext
---- controllers
---- models
---- views
I would like to have different core MY_Controller.php for every module that I had, since every modules had different behaviors.
(example: api needs oauth authentication, admin need super privilege, and helptext need only to display plain text)

Edited:
I can only do that in the application/core folder with different controller files (admin_controller.php, api_controller.php, help_controller.php) but not in the /modules/[module]/core

Is there a way?

[eluser]npCoda[/eluser]
Can it be implemented in Version 2.1.0? As I am new to CI.

[eluser]Abdelouahab[/eluser]
[quote author="npCoda" date="1332497556"]Can it be implemented in Version 2.1.0? As I am new to CI.[/quote]

me to

[eluser]Unknown[/eluser]
How to implement struckture like this

application
-config
-etc
-modules
--plc
---plc_test
----controllers
-----plc_test.php
---plc_test2
----controllers
-----plc_test2.php
--ga
---ga_test
----controllers
-----ga_test.php
---ga_test2
----controllers
-----ga_test2.php
---etc

The PLC folder, GA Folder its a variable.

Thanks Before Smile




Theme © iAndrew 2016 - Forum software by © MyBB