psf
 All Classes Functions Variables
primitive_object.php
1 <?php
2 
3 // Part of simple php framework (spf)
4 
5 // This program is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 
15 // Copyright (c) Petr Bena <petr@bena.rocks> 2015 - 2017
16 
17 require_once (dirname(__FILE__) . "/element.php");
18 
20 {
21  public $Html = "";
22 
23  public function ToHtml()
24  {
25  return $this->Html;
26  }
27 
28  public function __construct($_html_, $_parent = NULL)
29  {
30  parent::__construct($_parent);
31  $this->Html = $_html_;
32  }
33 }