Some updates:
[core.git] / framework / main / classes / helper / html / class_
1 <?php
2 // Own namespace
3 namespace CoreFramework\Helper\;
4
5 // Import framework stuff
6 use Org\Mxchange\CoreFramework\Helper\Template\HelpableTemplate;
7
8 /**
9  * 
10  *
11  * @author              Roland Haeder <webmaster@ship-simu.org>
12  * @version             0.0.0
13 <<<<<<< HEAD:framework/main/classes/helper/html/class_
14  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
15 =======
16  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team
17 >>>>>>> Some updates::inc/main/classes/helper/html/class_
18  * @license             GNU GPL 3.0 or any newer version
19  * @link                http://www.ship-simu.org
20  *
21  * This program is free software: you can redistribute it and/or modify
22  * it under the terms of the GNU General Public License as published by
23  * the Free Software Foundation, either version 3 of the License, or
24  * (at your option) any later version.
25  *
26  * This program is distributed in the hope that it will be useful,
27  * but WITHOUT ANY WARRANTY; without even the implied warranty of
28  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29  * GNU General Public License for more details.
30  *
31  * You should have received a copy of the GNU General Public License
32  * along with this program. If not, see <http://www.gnu.org/licenses/>.
33  */
34 class Html???Helper extends BaseHtmlHelper implements HelpableTemplate {
35         /**
36          * Name of the ???
37          */
38         private $???Name = "";
39
40         /**
41          * Protected constructor
42          *
43          * @return      void
44          */
45         protected function __construct () {
46                 // Call parent constructor
47                 parent::__construct(__CLASS__);
48
49                 // Set part description
50                 $this->setObjectDescription("");
51         }
52
53         /**
54          * Creates the helper class
55          *
56          * @param       $templateInstance       An instance of a template engine
57          * @param       $???Name                        Name of the ??? we shall generate
58          * @return      $helperInstance         A prepared instance of this helper
59          */
60         public final static function createHtml???Helper (CompileableTemplate $templateInstance, $???Name) {
61                 // Get new instance
62                 $helperInstance = new Html???Helper();
63
64                 // Set template instance
65                 $helperInstance->setTemplateInstance($templateInstance);
66
67                 // Set ??? name
68                 $helperInstance->set???Name($???Name);
69
70                 // Return the prepared instance
71                 return $helperInstance;
72         }
73
74         /**
75          * Flush the content out,e g. to a template variable
76          *
77          * @return      void
78          * @todo        0% done
79          */
80         public function flushContent () {
81                 $this->partialStub("Please implement this method.");
82         }
83
84 }