Beispiel #1
0
 public function withData($data)
 {
     if (is_null($this->_controlData)) {
         parent::withData($data);
     } else {
         if ($this->getData() == $data) {
             $this->setSelected();
         } else {
             $this->setNotSelected();
         }
     }
     return $this;
 }