PHP Classes

File: view/plugins/xsl_plugin.insert_x_vars.php

Recommend this page to a friend!
  Classes of Michael Collado   Phritz MVC framework   view/plugins/xsl_plugin.insert_x_vars.php   Download  
File: view/plugins/xsl_plugin.insert_x_vars.php
Role: Auxiliary script
Content type: text/plain
Description: Plugin for template processing
Class: Phritz MVC framework
Browser device independent MVC framework
Author: By
Last change:
Date: 16 years ago
Size: 218 bytes


Class file image Download

function insert_x_vars($tpl_obj, $tpl_source) {
$page = str_replace('$BASE_URL', $tpl_obj->getBaseUrl(), $tpl_source);
$page = str_replace('$TPL_DIR', $tpl_obj->getTplDir(), $page);