示例#1
0
 function __construct()
 {
     dom_any_noterm::__construct('input');
     $this->bindval = '';
     $this->callback_prefix = '';
     $this->callback_uri = '';
     $this->attributes['type'] = 'submit';
     $this->css_style['margin'] = '0px';
     $this->css_style['padding'] = '0px';
     $this->css_style['font-size'] = '10px';
     //$this->keys;
     //$this->args
 }
示例#2
0
 function html_head()
 {
     $this->attributes['src'] = '/i/no-image.png';
     if ($this->args[$this->context[$this->long_name]['var']]) {
         $this->attributes['src'] = $this->args[$this->context[$this->long_name]['var']];
     }
     parent::html_head();
 }
示例#3
0
文件: dom.php 项目: vladisslav2011/nb
 function __construct()
 {
     dom_any_noterm::__construct('input');
     $this->attributes['type'] = 'checkbox';
 }
示例#4
0
 function html_head()
 {
     $this->attributes['value'] = $this->args[$this->context[$this->long_name]['var']];
     parent::html_head();
 }