Пример #1
0
 /**
  * Deletes the key value key configuration
  */
 public function delete()
 {
     DefinitionCache::clear($this);
     \Pimcore::getEventManager()->trigger("object.Classificationstore.keyConfig.preDelete", $this);
     if ($this->getId()) {
         unset(self::$cache[$this->getId()]);
     }
     parent::delete();
     \Pimcore::getEventManager()->trigger("object.Classificationstore.keyConfig.postDelete", $this);
 }
Пример #2
0
 /**
  * Deletes the key value group configuration
  */
 public function delete()
 {
     \Pimcore::getEventManager()->trigger("object.keyValue.groupConfig.preDelete", $this);
     parent::delete();
     \Pimcore::getEventManager()->trigger("object.keyValue.groupConfig.postDelete", $this);
 }
Пример #3
0
 /**
  * Deletes the key value group configuration
  */
 public function delete()
 {
     \Pimcore::getEventManager()->trigger("object.Classificationstore.collectionConfig.preDelete", $this);
     parent::delete();
     \Pimcore::getEventManager()->trigger("object.Classificationstore.collectionConfig.postDelete", $this);
 }
 /**
  * @param $object
  * @return void
  */
 public function delete($object)
 {
     $this->doDelete = true;
     parent::delete($object);
 }
Пример #5
0
 /**
  * Deletes the key value key configuration
  */
 public function delete()
 {
     \Pimcore::getEventManager()->trigger("object.keyValue.keyConfig.preDelete", $this);
     if ($this->getId()) {
         unset(self::$cache[$this->getId()]);
     }
     parent::delete();
     \Pimcore::getEventManager()->trigger("object.keyValue.keyConfig.postDelete", $this);
 }