Пример #1
0
 protected function postFilter()
 {
     parent::postFilter();
     if ($this->name !== null) {
         $this->xml->setAttribute('name', $this->name);
     }
     if ($this->defaultValue !== null) {
         $this->xml->setAttribute('default', $this->defaultValue);
     }
 }