Login   Register  
PHP Classes
elePHPant
Icontem

File: view/plugins/xsl_plugin.insert_x_vars.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 7 years ago
Size: 218 bytes
 

Contents

Class file image Download
<?php

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);
  return 
$page;
}