Klevu Chains – Elements

Klevu chain elements

Description:  Chain elements are attached to chains. These elements are the callback functions to be executed. Some extra options allow the modification of order the callback functions have at the time of execution.

A chain element has the following possible parameters:

  • name: <str> – defines name of the element, it has to be unique per chain
  • position: <numeric> – optional , defines the position of the element
  • fire: <function Source> – defines what needs to be executed, accepts 2 variables, data and scope of the chain

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>