コード例 #1
0
ファイル: BaseControl.php プロジェクト: zaxxx/zaxcms
 /**
  * Supress redrawing other components to prevent data loss in form
  *
  * @param $presenter
  */
 public function attached($presenter)
 {
     parent::attached($presenter);
     if ($this->getForm()->isAnchored() && $this->getForm()->isSubmitted()) {
         return;
     }
     foreach ($this->suppressRedraw as $control) {
         $control->redrawControl(NULL, FALSE);
     }
 }