Login   Register  
PHP Classes
elePHPant
Icontem

File: view/plugins/xsl_plugin.clear_comment_tags.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.clear_comment_tags.php  >  Download  
File: view/plugins/xsl_plugin.clear_comment_tags.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: 128 bytes
 

Contents

Class file image Download
<?php

function clear_comment_tags($tpl_obj$tpl_source) {
    return 
preg_replace("|<!\-\-.*\-\->|x"''$tpl_source);
}
?>