Forums / Developer / customHTTPAction in an Event

customHTTPAction in an Event

Author Message

Clemens T

Monday 02 June 2008 3:13:05 am

Hey all,

I'm currently trying to create my own workflow event. I'd like to pass parameters from my template to my workflow process via the before publish trigger, without altering the just edited object. Does anyone know how to do this?

I've been searching a bit myself, and stumbled upon the following function in /kernel/classes/ezworkflowevent.php:

    /*!
     Executes the custom HTTP action
    */
    function customHTTPAction( &$http, $action )
    {
        $eventType =& $this->eventType();
        $eventType->customWorkflowEventHTTPAction( $http, $action, $this );
    }

Can this function be used for this purpose?

Thanks as always!

Maxime Thomas

Tuesday 03 June 2008 10:40:45 pm

Hi,

This function is used for the comment feature in the Approve event. It doesn't end the workflow event and allows to register some notification events for content linked users.

Else, I haven't understood what you want to do.

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas