Esempio n. 1
0
 protected function btnClearCache_Click($strFormId, $strControlId, $strParameter)
 {
     $blnSuccess = QCache::ClearNamespace('qquery/person');
     if ($blnSuccess) {
         $strStatus = "successful";
     } else {
         $strStatus = "NOT successful - check your cache / namespace paths";
     }
     $this->lblMessage->Text = 'Clearing the query cache for the Person table was ' . $strStatus . '. Reload the page to see the effect - query will not be executed against the database. ';
 }