23 Jun
2008
23 Jun
'08
1:50 p.m.
Ah, didn't realize it was changing :( Guess I need to read up on this issue. ----- Original Message ----- From: "Moshe Weitzman" <weitzman@tejasa.com> To: development@drupal.org Sent: Sunday, June 22, 2008 7:28:04 PM GMT -05:00 US/Canada Eastern Subject: Re: [development] module_exists vs. functions_exists?
Come Drupal 7, you'll want to use drupal_function_exists() specifically so that it can lazy-load the function if needed. I suppose that's a strike in favor of using function_exists() for now so that your logic is already setup for that.
Right ... For D6 and below, module_invoke() does the if (function_exists()) for you. Some people prefer that pattern.