tao-test/app/tao/helpers/form/xhtml/class.HtmlWrapper.php

138 lines
3.1 KiB
PHP

<?php
/**
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2008-2010 (original work) Deutsche Institut für Internationale Pädagogische Forschung (under the project TAO-TRANSFER);
* 2009-2012 (update and modification) Public Research Centre Henri Tudor (under the project TAO-SUSTAIN & TAO-DEV);
*
*/
/**
* This decorator render the decorated element inside xhtml.
*
* @access public
* @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
* @package tao
*/
class tao_helpers_form_xhtml_HtmlWrapper implements tao_helpers_form_Decorator
{
// --- ASSOCIATIONS ---
// --- ATTRIBUTES ---
/**
* Short description of attribute begin
*
* @access protected
* @var string
*/
protected $begin = '';
/**
* Short description of attribute end
*
* @access protected
* @var string
*/
protected $end = '';
// --- OPERATIONS ---
/**
* Short description of method preRender
*
* @access public
* @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
* @return string
*/
public function preRender()
{
$returnValue = (string) '';
return (string) $returnValue;
}
/**
* Short description of method postRender
*
* @access public
* @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
* @return string
*/
public function postRender()
{
$returnValue = (string) '';
return (string) $returnValue;
}
/**
* Short description of method getOption
*
* @access public
* @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
* @param string key
* @return string
*/
public function getOption($key)
{
$returnValue = (string) '';
return (string) $returnValue;
}
/**
* Short description of method setOption
*
* @access public
* @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
* @param string key
* @param string value
* @return boolean
*/
public function setOption($key, $value)
{
$returnValue = (bool) false;
return (bool) $returnValue;
}
/**
* Short description of method __construct
*
* @access public
* @author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
* @param array options
* @return mixed
*/
public function __construct($options = [])
{
}
}