[eluser]sherbo[/eluser]
Hey All,
I'm using a hook class that has 3
statements referring to custom classes in the
"libraries" directory.
Several custom classes in the
"libraries" directory also have
statements referring to other custom classes.
When I call
Code:
get_declared_classes()
, I see that
is called, followed by various CI classes, followed by a stack of classes specified in the hook class'
dependency chain.
When I try to access another custom class, it tells me
[b]Fatal error: Cannot redeclare class .... [/b]
Is it possible to use
require_once statements in a hook class to refer to library classes?
I can't simply use
Code:
CI load->library(className)
. My code need to be more flexible.
Any ideas would be greatly appreciated.
cheers,
Sherbo