Function.php
1.05 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?PHP
/**
* Base class for patTemplate functions
*
* $Id: Function.php,v 1.3 2004/05/25 20:38:38 schst Exp $
*
* @package patTemplate
* @subpackage Functions
* @author Stephan Schmidt <schst@php.net>
*/
/**
* Base class for patTemplate functions
*
* $Id: Function.php,v 1.3 2004/05/25 20:38:38 schst Exp $
*
* @abstract
* @package patTemplate
* @subpackage Functions
* @author Stephan Schmidt <schst@php.net>
*/
class patTemplate_Function extends patTemplate_Module
{
/**
* reader object
*
* @access private
* @var object
*/
var $_reader;
/**
* set the reference to the reader object
*
* @access public
* @param object patTemplate_Reader
*/
function setReader( &$reader )
{
$this->_reader = &$reader;
}
/**
* call the function
*
* @abstract
* @access public
* @param array parameters of the function (= attributes of the tag)
* @param string content of the tag
* @return string content to insert into the template
*/
function call( $params, $content )
{
}
}
?>