PHP Classes

File: view/prefilters/xsl_plugin.SetIncludes.php

Recommend this page to a friend!
  Classes of Michael Collado   Phritz MVC framework   view/prefilters/xsl_plugin.SetIncludes.php   Download  
File: view/prefilters/xsl_plugin.SetIncludes.php
Role: Auxiliary script
Content type: text/plain
Description: Template prefilter for View processing
Class: Phritz MVC framework
Browser device independent MVC framework
Author: By
Last change:
Date: 17 years ago
Size: 206 bytes
 

Contents

Class file image Download
<?php

function SetIncludes(&$view, $string) {
   
$r = str_replace('$PHRITZ_ROOT', PHRITZ_ROOT, $string);
      return
str_replace('$INCLUDE_PATH', PHRITZ_ROOT.DIR_SEP.$view->getThemePath(), $r);
}

?>