Expanding Class Sphere of Influence?
Moderator: General Moderators
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Expanding Class Sphere of Influence?
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? 
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Re: Expanding Class Sphere of Influence?
You could try advertising!
Could you expand on your question a bit maybe with a practical example?
-Andy
Could you expand on your question a bit maybe with a practical example?
-Andy
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: Expanding Class Sphere of Influence?
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.
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... 
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Re: Expanding Class Sphere of Influence?
Interesting. Glad it's working out now 