public static function startTag($tag, $attributes = [], $inline = false)
{
$output = "<{$tag}";
foreach ($attributes as $attr => $value) {
$output .= " {$attr}='{$value}'";
}
$output .= $inline ? "/" : "";
$output .= ">";
return $output;
}
protected function showTextarea() { $output = Html::startTag("textarea", $this->attributes); $output .= $this->value; $output .= Html::endTag("textarea"); return $output; }