Custom Action Handler

Author Message

David Wirth

Wednesday 27 January 2010 6:04:12 am

I am attempting to understand how the custom action handler described at http://serwatka.net/blog/do_you_need_action works. I created a test script following his rules and it works but I think I'll be able to develop better eZ apps if I understand how it's working.

The form action is 'content/action' just like it is for any other form in eZ. It would make sense to me if the custom code were an extension of an action handler class but it's not -- it's a standalone function. This means there are (at least) two action handler functions defined. When content/action is called it seems that eZ can use either the standard action function or the custom function. Is eZ executing both functions or is it somehow choosing between them?

Also, is this the standard way to customize action handling?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.