[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/pattemplate/patTemplate/InputFilter/ -> ShortModifiers.php (summary)

patTemplate input filter to allow the short modifier syntax that is used by Smarty $Id: ShortModifiers.php 10381 2008-06-01 03:35:53Z pasamio $

Author: Stephan Schmidt <schst@php.net>
File Size: 124 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

patTemplate_InputFilter_ShortModifiers:: (3 methods):
  setTemplateReference()
  _generateReplace()
  apply()


Class: patTemplate_InputFilter_ShortModifiers  - X-Ref

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

$Id: ShortModifiers.php 10381 2008-06-01 03:35:53Z pasamio $

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

setTemplateReference(&$tmpl)   X-Ref
set the template reference

param: object patTemplate

_generateReplace($matches)   X-Ref
generate the <patTemplate:var/> tag

param: array       matches from preg_replace
return: string        tag

apply($data)   X-Ref
replace the variables

param: string        data
return: string        data with variables replaced



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1