Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 10 |
|
0.00% |
0 / 5 |
CRAP | |
0.00% |
0 / 1 |
| tao_helpers_form_xhtml_HtmlWrapper | |
0.00% |
0 / 10 |
|
0.00% |
0 / 5 |
30 | |
0.00% |
0 / 1 |
| preRender | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| postRender | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getOption | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| setOption | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| __construct | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; under version 2 |
| 7 | * of the License (non-upgradable). |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 | * |
| 18 | * Copyright (c) 2008-2010 (original work) Deutsche Institut für Internationale Pädagogische Forschung |
| 19 | * (under the project TAO-TRANSFER); |
| 20 | * 2009-2012 (update and modification) Public Research Centre Henri Tudor |
| 21 | * (under the project TAO-SUSTAIN & TAO-DEV); |
| 22 | * |
| 23 | */ |
| 24 | |
| 25 | /** |
| 26 | * This decorator render the decorated element inside xhtml. |
| 27 | * |
| 28 | * @access public |
| 29 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 30 | * @package tao |
| 31 | |
| 32 | */ |
| 33 | class tao_helpers_form_xhtml_HtmlWrapper implements tao_helpers_form_Decorator |
| 34 | { |
| 35 | // --- ASSOCIATIONS --- |
| 36 | |
| 37 | |
| 38 | // --- ATTRIBUTES --- |
| 39 | |
| 40 | /** |
| 41 | * Short description of attribute begin |
| 42 | * |
| 43 | * @access protected |
| 44 | * @var string |
| 45 | */ |
| 46 | protected $begin = ''; |
| 47 | |
| 48 | /** |
| 49 | * Short description of attribute end |
| 50 | * |
| 51 | * @access protected |
| 52 | * @var string |
| 53 | */ |
| 54 | protected $end = ''; |
| 55 | |
| 56 | // --- OPERATIONS --- |
| 57 | |
| 58 | /** |
| 59 | * Short description of method preRender |
| 60 | * |
| 61 | * @access public |
| 62 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 63 | * @return string |
| 64 | */ |
| 65 | public function preRender() |
| 66 | { |
| 67 | $returnValue = (string) ''; |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | return (string) $returnValue; |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Short description of method postRender |
| 77 | * |
| 78 | * @access public |
| 79 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 80 | * @return string |
| 81 | */ |
| 82 | public function postRender() |
| 83 | { |
| 84 | $returnValue = (string) ''; |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | return (string) $returnValue; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Short description of method getOption |
| 94 | * |
| 95 | * @access public |
| 96 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 97 | * @param string key |
| 98 | * @return string |
| 99 | */ |
| 100 | public function getOption($key) |
| 101 | { |
| 102 | $returnValue = (string) ''; |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | return (string) $returnValue; |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Short description of method setOption |
| 112 | * |
| 113 | * @access public |
| 114 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 115 | * @param string key |
| 116 | * @param string value |
| 117 | * @return boolean |
| 118 | */ |
| 119 | public function setOption($key, $value) |
| 120 | { |
| 121 | $returnValue = (bool) false; |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | return (bool) $returnValue; |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Short description of method __construct |
| 131 | * |
| 132 | * @access public |
| 133 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 134 | * @param array options |
| 135 | * @return mixed |
| 136 | */ |
| 137 | public function __construct($options = []) |
| 138 | { |
| 139 | } |
| 140 | } |