diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-28 00:19:08 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-28 00:19:08 +0000 |
| commit | 3ad9b6174a0adcc3d9b6e4ae007bd3ffd8ef2d26 (patch) | |
| tree | b55c0a1303627c35707afd71389f5dd340663e76 /modules/tag/hooks | |
| parent | b8c034cb373a9e1f2df684f56e2cb1a42e413d1c (diff) | |
Add event plumbing to allow the tag module to be notified when a photo is created. Eventually this will be used to parse the image meta data and extract tags;
Diffstat (limited to 'modules/tag/hooks')
| -rw-r--r-- | modules/tag/hooks/photo_created.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tag/hooks/photo_created.php b/modules/tag/hooks/photo_created.php new file mode 100644 index 00000000..8f6cbab6 --- /dev/null +++ b/modules/tag/hooks/photo_created.php @@ -0,0 +1,2 @@ +<?php defined('SYSPATH') or die('No direct script access.'); +Event::add("gallery.photo_created", array('tag', 'on_photo_create')); |
