Skip to main content
Topic: [Coding style] Use hooks (Read 5021 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: [Coding style] Use hooks

Reply #15

I don't understand why you'd need to split up an array in to different files or even different functions. One hook changes everything since it is an array.

Re: [Coding style] Use hooks

Reply #16

Because each piece of the array belongs to different areas. No?
I mean, if all the sections of the admin area were addons, each addon would have its own set of hooks adding its piece of menu. I think.
Bugs creator.
Features destroyer.
Template killer.