コード例 #1
0
ファイル: Submit.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->labelPosition = static::LABEL_NONE;
     $this->datalistAllowed = false;
     $this->input = (new Elements\Button())->attr('type', 'submit');
     parent::__construct();
 }
コード例 #2
0
ファイル: Radio.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->labelPosition = static::LABEL_AFTER;
     $this->datalistAllowed = false;
     $this->input = new Elements\InputRadio();
     parent::__construct();
 }
コード例 #3
0
ファイル: Email.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->input = new Elements\InputEmail();
     parent::__construct();
 }
コード例 #4
0
ファイル: Password.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->datalistAllowed = false;
     $this->input = (new Elements\Input())->attr('type', 'password');
     parent::__construct();
 }
コード例 #5
0
ファイル: Checkbox.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->labelPosition = static::LABEL_AFTER;
     $this->input = new Elements\InputCheckbox();
     parent::__construct();
 }
コード例 #6
0
ファイル: Info.php プロジェクト: oscarotero/folk
 public function __construct()
 {
     parent::__construct((new Elements\Input())->type('hidden'));
     $this->set('list', true);
     $this->wrapper->class('format is-responsive');
 }
コード例 #7
0
ファイル: Text.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->input = (new Elements\Input())->attr('type', 'text');
     parent::__construct();
 }
コード例 #8
0
ファイル: Textarea.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->datalistAllowed = false;
     $this->input = new Elements\Textarea();
     parent::__construct();
 }
コード例 #9
0
ファイル: Datetime.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->input = new Elements\InputDatetime();
     parent::__construct();
 }
コード例 #10
0
ファイル: Range.php プロジェクト: goBrabus/form-manager
 public function __construct()
 {
     $this->input = (new Elements\InputNumber())->attr('type', 'range');
     parent::__construct();
 }