public function commit()
 {
     $va8cfde6331bd59eb2ac96f8911c4b666 = $this->getObject();
     if ($va8cfde6331bd59eb2ac96f8911c4b666 instanceof umiObject) {
         $va8cfde6331bd59eb2ac96f8911c4b666->commit();
         $v16b2b26000987faccb260b9d39df1269 = $va8cfde6331bd59eb2ac96f8911c4b666->getId();
         $vb81ca7c0ccaa77e7aa91936ab0070695 = umiHierarchy::getInstance();
         cacheFrontend::getInstance()->del($v16b2b26000987faccb260b9d39df1269, "object");
         $va7f1f2c46c62415198e0884b827bd2d2 = $vb81ca7c0ccaa77e7aa91936ab0070695->getObjectInstances($v16b2b26000987faccb260b9d39df1269, true, true);
         foreach ($va7f1f2c46c62415198e0884b827bd2d2 as $va3e6bf52d6871a75cae73e5262de04af) {
             cacheFrontend::getInstance()->del($va3e6bf52d6871a75cae73e5262de04af, "element");
         }
     }
     parent::commit();
 }
 public function commit()
 {
     parent::commit();
     cacheFrontend::getInstance()->flush();
 }
Пример #3
0
 public function commit()
 {
     l_mysql_query("START TRANSACTION /* Saving object {$this->id} */");
     $v3c9c288f4021bd9f84c98cc0eddd1838 = umiObjectProperty::$USE_TRANSACTIONS;
     umiObjectProperty::$USE_TRANSACTIONS = false;
     if ($this->checkSelf()) {
         foreach ($this->properties as $v23a5b8ab834cb5140fa6665622eb6417) {
             if (is_object($v23a5b8ab834cb5140fa6665622eb6417)) {
                 $v23a5b8ab834cb5140fa6665622eb6417->commit();
             }
         }
     }
     parent::commit();
     l_mysql_query("COMMIT");
     umiObjectProperty::$USE_TRANSACTIONS = $v3c9c288f4021bd9f84c98cc0eddd1838;
 }