Modifier.php
902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?PHP
/**
* Base class for patTemplate variable modifiers
*
* $Id: Modifier.php,v 1.2 2004/05/25 20:38:38 schst Exp $
*
* 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>
*/
/**
* Base class for patTemplate variable modifiers
*
* $Id: Modifier.php,v 1.2 2004/05/25 20:38:38 schst Exp $
*
* 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;
}
}
?>