diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-20 08:51:12 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-20 08:51:12 -0700 |
commit | 60d605888094f34b4f5185adcdfd01c0338eb8cc (patch) | |
tree | 4b83288399c196edf23b8e91934be274402c498d /modules/rss/helpers | |
parent | 709d6c5faf7ece54046c0e2bc431a559a6b9d735 (diff) |
Make some API changes simplify the tag editing code. We now have a
good pattern for allowing modules to add their own hooks to item forms!
1) Album, photo and movie forms now all use edit_item as the group and
we publish item_edit_form and item_edit_form_completed events which
makes it much easier in the module to handle all events. They can
still differentiate based on $item->type if they want to.
2) Added tag::clear_all() and tag::compact() functions which takes the
place of hiwilson's tag::update() function and is now used in
tag_event::item_delete(). This provides a simple API that allows
us to have a lot less event handling code. It's less efficient
than what hiwilson was doing before in that it will delete and
re-add tags, but if that ever turns out to be a performance issue
we can do something about it then.
Diffstat (limited to 'modules/rss/helpers')
0 files changed, 0 insertions, 0 deletions