コード例 #1
0
 public function init()
 {
     parent::init();
     if ($this->default && empty($this->value)) {
         $this->value = $this->default;
     }
     $this->bindNotNullPropertyToAttribute('value');
     $this->bindNotNullPropertyToAttribute('type');
 }
コード例 #2
0
 public function init()
 {
     parent::init();
     $this->meta->name = 'textbox';
     if ($this->default && empty($this->value)) {
         $this->value = $this->default;
     }
     $this->bindPropertyToAttribute('value');
     $this->bindNotNullPropertyToAttribute('type');
     $this->bindNotNullPropertyToAttribute('disabled');
     $this->bindNotNullPropertyToAttribute('maxlenght');
     $this->bindNotNullPropertyToAttribute('emptytext');
     $this->bindNotNullPropertyToAttribute('accesskey');
 }
コード例 #3
0
 public function init()
 {
     parent::init();
     $this->meta->name = 'menulist';
 }