From: Joe E. <jo...@or...> - 2001-11-21 22:53:04
|
> Yes, this is problem. I've got vague notions of adding an API to WikiDB > to allow the addition of arbitrary "indexes" or something. Yes. Something like that. I feel like we're reinventing SQL... I guess that's the right thing to do! > Adding a (perhaps optional) $key argument to $em->register would > probably be a good idea. Okay. > (Or perhaps better, though it's yet another different > API, have $em->register return a key or handle while can be used to unregister the > callback.) Well that's why I had the WikiEventHandler class before, so you could say: $eh = new WikiEventHandler ( $event, $function ); and $eh->destroy(); > And, in case I didn't mention it before, it's probably time to implement > WikiCallback as a bona fide class. Sure. Makes sense. Joe |