You could consume the subscription Service that notify the subscribers in the newsController::approveAction.
::: Diego Potapczuk On Tue, Dec 1, 2009 at 8:31 PM, tonystamp <[email protected]> wrote: > > I have an action in the administration section of a site, where an article > is > basically approved and is published to the site > (newsController::approveAction). I also have a list of email subscribers, > and was wondering if there is any way of observing the > newsController::approveAction so that > subscriptionController::notifySubscribersAction would be called, to email > all the subscribers of the new article. > > To be clear, i would prefer to keep a loose coupling between the > controllers > ie i'm looking for a cleaner way than calling > subscriptionController::notifySubscribersAction from within > newsController::approveAction. > -- > View this message in context: > http://n4.nabble.com/observe-controller-action-tp932627p932627.html > Sent from the Zend Framework mailing list archive at Nabble.com. >
