示例#1
0
 public function init()
 {
     $this->allowedAttributes[] = 'useRowLayout';
     $this->allowedAttributes[] = 'useCheckableLayout';
     $this->allowedAttributes[] = 'checkableLayoutClass';
     parent::init();
 }
示例#2
0
 public function init()
 {
     parent::init();
     $this->addClass('tab-pane');
     $this->addClass('fade');
     $this->attributes['role'] = 'tabpanel';
 }
示例#3
0
文件: submit.php 项目: dev-lucid/html
 public function init()
 {
     parent::init();
     $this->allowedAttributes[] = 'type';
     $this->type = 'submit';
     $this->tag = 'button';
 }
示例#4
0
文件: form.php 项目: dev-lucid/html
 public function init()
 {
     $this->allowedAttributes[] = 'onsubmit';
     $this->allowedAttributes[] = 'enctype';
     $this->allowedAttributes[] = 'method';
     $this->allowedAttributes[] = 'target';
     parent::init();
 }
示例#5
0
文件: table.php 项目: dev-lucid/html
 public function init()
 {
     $this->allowedAttributes[] = 'cellpadding';
     $this->allowedAttributes[] = 'cellspacing';
     $this->allowedAttributes[] = 'border';
     $this->allowedAttributes[] = 'width';
     $this->allowedAttributes[] = 'sortable';
     parent::init();
 }
示例#6
0
 public function init()
 {
     parent::init();
     $this->addClass('btn-group');
     $this->addClass('pull-right');
     $this->attributes['role'] = 'group';
     $this->add(html::button(lucid::$app->i18n()->translate('button:cancel'), 'secondary', 'history.go(-1);'));
     $this->add(html::submit(lucid::$app->i18n()->translate('button:save')));
 }
示例#7
0
 public function init()
 {
     $this->allowedAttributes[] = 'checked';
     $this->allowedAttributes[] = 'default';
     $this->allowedAttributes[] = 'disabled';
     $this->allowedAttributes[] = 'icon';
     $this->allowedAttributes[] = 'label';
     $this->allowedAttributes[] = 'radiogroup';
     $this->allowedAttributes[] = 'type';
     parent::init();
 }
示例#8
0
文件: meter.php 项目: dev-lucid/html
 public function init()
 {
     $this->allowedAttributes[] = 'form';
     $this->allowedAttributes[] = 'high';
     $this->allowedAttributes[] = 'low';
     $this->allowedAttributes[] = 'max';
     $this->allowedAttributes[] = 'min';
     $this->allowedAttributes[] = 'optimum';
     $this->allowedAttributes[] = 'value';
     parent::init();
 }
示例#9
0
文件: alert.php 项目: dev-lucid/html
 public function init()
 {
     $this->addClass('alert');
     parent::init();
 }
示例#10
0
文件: body.php 项目: dev-lucid/html
 public function init()
 {
     $this->allowedAttributes[] = 'align';
     parent::init();
 }
示例#11
0
 public function init()
 {
     parent::init();
     $this->tag = 'td';
     $this->parameters = ['label', 'data_name', 'width', 'sortable', 'renderer'];
 }
示例#12
0
 public function init()
 {
     $this->addClass('card-subtitle');
     $this->addClass('text-muted');
     parent::init();
 }
示例#13
0
文件: column.php 项目: dev-lucid/html
 public function init()
 {
     parent::init();
     #$this->addClass('col');
 }
示例#14
0
 public function init()
 {
     $this->addClass('container');
     parent::init();
 }
示例#15
0
文件: time.php 项目: dev-lucid/html
 public function init()
 {
     $this->allowedAttributes[] = 'datetime';
     parent::init();
 }
示例#16
0
文件: nav.php 项目: dev-lucid/html
 public function init()
 {
     parent::init();
     $this->addClass('nav');
     $this->addClass('nav-pills');
 }
示例#17
0
 public function init()
 {
     parent::init();
     $this->addClass('nav-item');
 }
示例#18
0
 public function init()
 {
     $this->addClass('text-muted');
     parent::init();
 }
示例#19
0
 public function init()
 {
     $this->addClass('input-group');
     parent::init();
 }
示例#20
0
文件: column.php 项目: dev-lucid/html
 public function init()
 {
     $this->allowedAttributes[] = 'width';
     $this->allowedAttributes[] = 'span';
     parent::init();
 }
示例#21
0
文件: button.php 项目: dev-lucid/html
 public function init()
 {
     $this->allowedAttributes[] = 'type';
     $this->allowedAttributes[] = 'name';
     parent::init();
 }
示例#22
0
 public function init()
 {
     $this->allowedAttributes[] = 'rowspan';
     $this->allowedAttributes[] = 'colspan';
     parent::init();
 }
示例#23
0
 public function init()
 {
     parent::init();
     $this->addClass('btn-group');
     $this->attributes['role'] = 'group';
 }
示例#24
0
文件: card.php 项目: dev-lucid/html
 public function init()
 {
     $this->addClass('card');
     parent::init();
 }