Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 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 | * A decorator is an helper used for aspect oriented rendering. |
| 27 | * |
| 28 | * @access public |
| 29 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 30 | * @package tao |
| 31 | |
| 32 | */ |
| 33 | interface tao_helpers_form_Decorator |
| 34 | { |
| 35 | // --- OPERATIONS --- |
| 36 | |
| 37 | /** |
| 38 | * Short description of method preRender |
| 39 | * |
| 40 | * @access public |
| 41 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 42 | * @return string |
| 43 | */ |
| 44 | public function preRender(); |
| 45 | |
| 46 | /** |
| 47 | * Short description of method postRender |
| 48 | * |
| 49 | * @access public |
| 50 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 51 | * @return string |
| 52 | */ |
| 53 | public function postRender(); |
| 54 | |
| 55 | /** |
| 56 | * Short description of method getOption |
| 57 | * |
| 58 | * @access public |
| 59 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 60 | * @param string key |
| 61 | * @return string |
| 62 | */ |
| 63 | public function getOption($key); |
| 64 | |
| 65 | /** |
| 66 | * Short description of method setOption |
| 67 | * |
| 68 | * @access public |
| 69 | * @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu> |
| 70 | * @param string key |
| 71 | * @param string value |
| 72 | * @return boolean |
| 73 | */ |
| 74 | public function setOption($key, $value); |
| 75 | } |