Пример #1
0
 public function setData(Kwf_Data_Interface $data)
 {
     $this->_data = $data;
     $data->setFieldname($this->getDataIndex());
     if ($this->getEditor()) {
         $this->getEditor()->setData($data);
     }
     return $this;
 }
Пример #2
0
 public function setData(Kwf_Data_Interface $data)
 {
     $this->_data = $data;
     $data->setFieldname($this->getName());
     return $this;
 }