File "Modifier.php"

Full Path: /home/asmplong/www/ancien-site-2019/poc/libraries/pattemplate/patTemplate/Modifier.php
File size: 956 bytes
MIME-type: text/x-php
Charset: utf-8

<?PHP
/**
 * Base class for patTemplate variable modifiers
 *
 * $Id: Modifier.php 10381 2008-06-01 03:35:53Z pasamio $
 *
 * A modifier is used to modify a variable when it's parsed
 * into the template.
 *
 * @package		patTemplate
 * @subpackage	Modifiers
 * @author		Stephan Schmidt <schst@php.net>
 */

// Check to ensure this file is within the rest of the framework
defined('JPATH_BASE') or die();

/**
 * Base class for patTemplate variable modifiers
 *
 * $Id: Modifier.php 10381 2008-06-01 03:35:53Z pasamio $
 *
 * A modifier is used to modify a variable when it's parsed
 * into the template.
 *
 * @abstract
 * @package		patTemplate
 * @subpackage	Modifiers
 * @author		Stephan Schmidt <schst@php.net>
 */
class patTemplate_Modifier extends patTemplate_Module
{
	/**
	* modify the value
	*
	* @access	public
	* @param	string		value
	* @return	string		modified value
	*/
	function modify( $value, $params = array() )
	{
		return $value;
	}
}
?>