Esempio n. 1
0
 public function process()
 {
     if ($this->getRequest()->isMutation() && $this->getRequest()->hasParameter('Submit')) {
         // create the DB key:
         $this->getPlatform()->getDatabase('fwrules')->setKey($this->workflow->getRuleId(), 'rule', array());
         $this->worker->process();
         $this->getParent()->fixOrderedSetPositions();
     } else {
         $this->worker->process();
     }
 }