Files
zurawik.pl/core/class/HtmlButton.class.php
2026-05-15 20:23:25 +02:00

21 lines
390 B
PHP

<?php
/*
* Klasa buttonow html
*/
class HtmlButton extends HtmlElement {
/*
* Pusty konstruktor
*/
public function __construct() {
}
public function AddButton($id, $class, $text, $onclick, $rel=null) {
$this->AddElement(array('tag'=>'input', 'type'=>'button', 'id'=>$id, 'class'=>$class, 'text'=>$text, 'onclick'=>$onclick, 'rel'=>$rel));
}
}