["?content", null, "libellé du bouton"], "class" => ["?array", "btn-default"], #XXX ajouter type pour contrôler le type de bouton (default, primary, etc.) ]; /** @var array|string */ protected $ppReset; function getControl(): array { $control = v::tag("button", [ "type" => "reset", "name" => $this->ppName, "value" => $this->ppValue, "class" => ["btn", $this->ppClass], "style" => $this->ppStyle, $this->ppAttrs, q($this->ppReset), ]); if ($this->ppNaked) return $control; return $this->getFgsLayout($control, true); } }