Exemplo n.º 1
0
 /**
  * Removes config item by provided plugin key and config name.
  * 
  * @param string $key
  * @param string $name
  */
 public function removeConfig($key, $name)
 {
     $event = OW::getEventManager()->trigger(new OW_Event(self::EVENT_BEFORE_REMOVE, array("key" => $key, "name" => $name)));
     if ($event->getData() !== false) {
         $this->configDao->removeConfig($key, $name);
         OW::getEventManager()->trigger(new OW_Event(self::EVENT_BEFORE_REMOVE, array("key" => $key, "name" => $name)));
     }
 }
Exemplo n.º 2
0
 /**
  * Removes config item by provided plugin key and config name.
  * 
  * @param string $key
  * @param string $name
  */
 public function removeConfig($key, $name)
 {
     $this->configDao->removeConfig($key, $name);
 }