/** * method description * * more detailed method description * @param void * @return void */ function messageInterchange() { if (($w = Controller::getInstance()->getWidget($this->getIfEmpty())) && $w instanceof WComponent) { if (!$this->getCount()) { $w->setEnabled(1); $w->setVisible(1); } else { $w->setVisible(0); } } parent::messageInterchange(); }