patTemplate_Function
Description
Base class for patTemplate functions
$Id: Function.php 311 2004-10-27 13:52:20Z schst $
Located in /pattemplate/patTemplate/Function.php (line 35)
patTemplate_Module patTemplate_Function (Subpackage Functions)
Direct descendents
Class | Description |
---|---|
patTemplate_Function_Sef | JTemplate SEF function |
patTemplate_Function_Translate | JTemplate Translate function |
patTemplate_Function_Img | patTemplate function that returns a complete imagetag and width and height are extracted from the image |
patTemplate_Function_Call | patTemplate function that enables you to insert any template, that has been loaded previously into the current template. |
patTemplate_Function_Attribute | patTemplate function to dynamically change the value of _any_ attribute of the parent tag. |
patTemplate_Function_Highlight | patTemplate function that highlights PHP code in your templates |
patTemplate_Function_Time | patTemplate function that calculates the current time or any other time and returns it in the specified format. |
patTemplate_Function_Alias | creates a new function alias |
patTemplate_Function_Globalvar | patTemplate function that enables adding global variables from within a template. |
patTemplate_Function_Strip | patTemplate function that strips whitespace from a text block. This is an implementation of Smarty's strip function. |
patTemplate_Function_Phphighlight | patTemplate function that highlights PHP code in your templates |
Variable Summary
integer
$type
Method Summary
Variables
integer
$type
= PATTEMPLATE_FUNCTION_COMPILE (line 51)
function type
Inherited Variables
Inherited from patTemplate_Module
patTemplate_Module::$_name
patTemplate_Module::$_params
Methods
call (line 73)
call the function
string
call
(array $params, string $content)
- array $params: parameters of the function (= attributes of the tag)
- string $content: content of the tag
Redefined in descendants as:
- patTemplate_Function_Sef::call() : call the function
- patTemplate_Function_Translate::call() : call the function
- patTemplate_Function_Img::call() : call the function
- patTemplate_Function_Call::call() : call the function
- patTemplate_Function_Attribute::call() : call the function
- patTemplate_Function_Highlight::call() : call the function
- patTemplate_Function_Time::call() : call the function
- patTemplate_Function_Alias::call() : call the function
- patTemplate_Function_Globalvar::call() : call the function
- patTemplate_Function_Strip::call() : call the function
- patTemplate_Function_Phphighlight::call() : call the function
Inherited Methods
Inherited From patTemplate_Module
patTemplate_Module::getName()
patTemplate_Module::getParam()
patTemplate_Module::setParams()
Documentation generated on Mon, 05 Mar 2007 21:02:16 +0000 by phpDocumentor 1.3.1