deleteProperties() public method

{@inheritDoc}
public deleteProperties ( array $operations )
$operations array
 /**
  * {@inheritDoc}
  */
 public function deleteProperties(array $operation)
 {
     $result = parent::deleteProperties($operation);
     if ($result) {
         // we do not have the node here, otherwise we could use clearNodeCache() and then just invalidate all queries
         $this->clearCaches();
     }
     return $result;
 }
Ejemplo n.º 2
0
 /**
  * {@inheritDoc}
  */
 public function deleteProperties(array $operation)
 {
     $result = parent::deleteProperties($operation);
     if ($result && isset($this->caches['nodes'])) {
         $this->caches['nodes']->deleteAll();
     }
     return $result;
 }