PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Eper Kalman  >  PHP Refactor  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: PHP Refactor
Refactor PHP replacing variables and functions
Author: By
Last change:
Date: 8 years ago
Size: 502 bytes


Class file image Download
        * Replacer class usage example
$repl = new Replacer();
$repl -> inputDirectory('in');
$repl -> outputDirectory('out');
$repl -> replaceVariable(array('varname'=>'changed_varname'));
$repl -> replaceFunction('funcname', 'changed_funcname');
$repl -> replaceClass('classname', 'changed_classname');

For more information send a message to info at phpclasses dot org.