Page 1 of 1

Expanding Class Sphere of Influence?

Posted: Thu Jul 23, 2009 6:25 am
by JAB Creations
It seems that classes can only be accessed to an X number of includes depth...and including the class spawns a can not redeclare class error...so the included file sees the class, can't use it, and it can't include (and thus redeclare it though I don't see any benefit of executing a class twice any way). How do I increase the sphere of influence of my class files? :?:

Re: Expanding Class Sphere of Influence?

Posted: Fri Jul 24, 2009 2:46 pm
by andyhoneycutt
You could try advertising! :twisted:

Could you expand on your question a bit maybe with a practical example?

-Andy

Re: Expanding Class Sphere of Influence?

Posted: Fri Jul 24, 2009 3:02 pm
by JAB Creations
Thanks for the reply Andy...turns out I converted the class to a set of session variables and didn't catch all the instances where I was calling the deprecated PHP cass. :oops: The thing is I didn't bump in to any errors on my site's site option prompt for some time...until I tested it in Opera 7.5. Yeah... :evil:

Re: Expanding Class Sphere of Influence?

Posted: Fri Jul 24, 2009 3:13 pm
by andyhoneycutt
Interesting. Glad it's working out now :)