Welcome Guest, Not a member yet? Register   Sign In
[Q] where can I declare a class to share between library, controllers
#1

[eluser]vlad_ci[/eluser]
Hi, I would like to define a class
(that inherits from the SplArray) and pass it arround
(as reference) between
various Library classes and the controller.

Where can I create the definition of this class, such
that all the diferrent components are aware of the definition
(and it will be instanciated in one of my Library classes)?

Please, note I thought of declaring this class as a separate library,
however the problem there is that when loaded, it will be 'attached'
to the Controller (because Controller is the only thing that do
load->library) -- and I do not want that.


Thank you


Messages In This Thread
[Q] where can I declare a class to share between library, controllers - by El Forum - 09-08-2008, 04:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB