Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: patTemplate

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class patTemplate_InputFilter_ShortModifiers

Description

patTemplate input filter to allow the short modifier syntax that is used by Smarty

$Id: ShortModifiers.php 47 2005-09-15 02:55:27Z rhuk $

This will replace the variables with patTemplate:var/> tags that have the name and the modifier attribute set.

Located in /pattemplate/patTemplate/InputFilter/ShortModifiers.php (line 29)

Abstract class patTemplate_Module

Abstract class patTemplate_InputFilter
   
   Class patTemplate_InputFilter_ShortModifiers   (Subpackage Filters)
Method Summary
Method string apply (string $data)
Method string _generateReplace (array $matches)
Methods
apply (line 110)

replace the variables

  • return: data with variables replaced
  • access: public
string apply (string $data)
  • string $data: data

Redefinition of:
patTemplate_InputFilter::apply()
apply the filter
setTemplateReference (line 71)

set the template reference

  • access: public
void setTemplateReference (object patTemplate &$tmpl)
_generateReplace (line 83)

generate the <patTemplate:var/> tag

  • return: tag
  • access: public
string _generateReplace (array $matches)
  • array $matches: matches from preg_replace

Inherited Methods

Inherited From patTemplate_InputFilter

 patTemplate_InputFilter::apply()

Inherited From patTemplate_Module

 patTemplate_Module::getName()
 patTemplate_Module::getParam()
 patTemplate_Module::setParams()

Documentation generated on Mon, 05 Mar 2007 21:21:46 +0000 by phpDocumentor 1.3.1