update
This commit is contained in:
21
core/class/HtmlButton.class.php
Normal file
21
core/class/HtmlButton.class.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?
|
||||
/*
|
||||
* 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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user