34 lines
428 B
PHP
34 lines
428 B
PHP
<?php
|
|
|
|
/*
|
|
* Klasa elementow html
|
|
*/
|
|
class HtmlElement {
|
|
|
|
|
|
private $elements;
|
|
|
|
/*
|
|
* Pusty konstruktor
|
|
*/
|
|
public function __construct() {
|
|
|
|
}
|
|
|
|
public function GetElements() {
|
|
return $this->elements;
|
|
}
|
|
|
|
public function SetElements($elements) {
|
|
$this->elements = $elements;
|
|
}
|
|
|
|
public function AddElement($element) {
|
|
$this->elements[] = $element;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|