/**
  * Clear the cache of the forms when a validation setting has changed.
  *
  * @param \DataContainer $dataContainer The data container.
  *
  * @return void
  */
 public function clearCache($dataContainer)
 {
     $collection = \FormModel::findBy(['fv_active=1', 'fv_setting=?'], $dataContainer->id);
     if ($collection) {
         foreach ($collection as $form) {
             $this->cache->remove($form->id);
         }
     }
 }
 /**
  * Clear the cached form field when form changed.
  *
  * @param \DataContainer $dataContainer The data container driver.
  *
  * @return void
  */
 public function clearCache($dataContainer)
 {
     $this->cache->remove($dataContainer->activeRecord->pid);
 }
 /**
  * Clear the cached form when form changed.
  *
  * @param \DataContainer $dataContainer The data container driver.
  *
  * @return void
  */
 public function clearCache($dataContainer)
 {
     $this->cache->remove($dataContainer->id);
 }