Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }