PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Old November 29th, 2012, 08:35 PM
1NDecent 1NDecent is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Location: Far-reaching Prince, MY
Posts: 1 1NDecent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 22 sec
Reputation Power: 0
Should I check if module is already loaded, or is it not necessary?

Hey all, I'm new.

I used to do this to check if certain modules are already loaded, just so to prevent overhead if it does:
PHP Code:
if(!isset($NM0['db']->modules['Extended']))
$NM0['db']->loadModule('Extended'); 


But the latest PEAR upgrade no longer allows me to do that; it'll give me error like "Cannot access protected property".

Is there a proper way to check for loaded modules, or is it not necessary?

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > Should I check if module is already loaded, or is it not necessary?


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap