[dev] Group hooks and subgroups

Chuck Hagenbuch chuck at horde.org
Sat Feb 21 11:46:39 PST 2004


Quoting Bernard Blackham <b-horde at blackham.com.au>:

> How are group hooks implemented for subgroups? Internally, the
> subgroup is represented as 'parent:child', so a function called
> '_group_hook_parent:child' would need to be created. As php isn't
> terribly happy with this, I ended up replacing colons in the group
> name with a double underscore. Hence, the group hooks would instead
> be called _group_hook_parent__child. Is there a better solution I've
> missed?

I can't think of one offhand, so I've committed this one. Thanks. :)

-chuck

--
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."


More information about the dev mailing list