[development] namespaced global variables [WAS: Drupal 6.2 theme system standalone]

Bob Pepin bob.pepin at gmail.com
Sat Jun 14 15:03:15 UTC 2008

On a side note, the next person designing a callback interface should
also keep in mind that call_user_func can take array($classname,
$methodname) as first argument. Would have avoided all the name
clashes with callbacks in themes right now.

On Sat, Jun 14, 2008 at 17:00, Syscrusher <syscrusher at 4th.com> wrote:
> On Sat, 2008-06-14 at 16:47 +0200, Adrian Rossouw wrote:
>> Dries didn't like the idea when i floated it 5 years ago, but maybe
>> it's time =)
> If we're talking about that kind of a major change, is it time to
> revisit the question of whether Drupal should use PHP's OOP features,
> now that the PHP language has better OO support than it did several
> years ago?
> I realize this has been discussed before, and I'm not trying to open a
> flame war here. If the answer is "Hell no!", then I will not start a
> fight about it. I just thought we might be trying with things like
> home-grown contexts to reinvent a wheel that's already solved by
> classes.
> Kind regards,
> Scott
> --
> Syscrusher <syscrusher at 4th.com>

More information about the development mailing list