I hereby claim:
- I am wouter0100 on github.
- I am wouter0100 (https://keybase.io/wouter0100) on keybase.
- I have a public key ASCTmU8KbWPnq_9ej_SB2yPO7C83cAbZP87SHYl2694qFwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace MauticPlugin\NetcareRulesBundle\EventListener; | |
use Mautic\CampaignBundle\Event\CampaignExecutionEvent; | |
use Mautic\CoreBundle\EventListener\CommonSubscriber; | |
use Mautic\CampaignBundle\CampaignEvents; | |
class EnforceSubscriber extends CommonSubscriber { |
wizard.init(pageContainer, true); | |
// Only add step to wizard when a screnario is met | |
if (something == true) { | |
wizard.addFragment('type', function() { | |
// Load the new fragment (e.g. async data) | |
wizard.finishLoad(); | |
}, function () { | |
// Process the fragment | |
wizard.finishNext(); |
<?php | |
$file = file_get_contents('settings.json'); | |
$file = json_decode($file, true); | |
loop('', $file); | |
function loop($globalKey, $item) { | |
foreach ($item as $key => $items) { |