public function redrawControl($snippet = NULL, $redraw = TRUE)
 {
     return $this->control->redrawControl($snippet);
 }
Example #2
0
 public function redrawControl($snippet = null)
 {
     parent::redrawControl($snippet);
     if ($snippet === null || $snippet === 'rows') {
         $this->sendOnlyRowParentSnippet = true;
     }
 }
 public function markRedrawn($name)
 {
     if ($name !== '') {
         $this->control->redrawControl($name, FALSE);
     }
 }
Example #4
0
 public function redrawControl(string $snippet = NULL, bool $redraw = TRUE)
 {
     if ($redraw) {
         if (isset($this->views[$snippet])) {
             $this->invalidViews[$snippet] = TRUE;
         } elseif ($snippet === NULL) {
             $this->invalidViews = $this->views;
         }
     } elseif ($snippet === NULL) {
         $this->invalidViews = [];
     } else {
         unset($this->invalidViews[$snippet]);
     }
     parent::redrawControl($snippet, $redraw);
 }