DB_DataObject_FormBuilder
[ class tree: DB_DataObject_FormBuilder ] [ index: DB_DataObject_FormBuilder ] [ all elements ]

Source for file fixPre1.52CVSFiles.php

Documentation is available at fixPre1.52CVSFiles.php

  1. #!/usr/bin/php
  2. <?php
  3.  
  4. die("This script will rename select(Display|Order)Fields to link(Display|Order)Fields.\nIt is for use only by those who have used CVS versoions of FormBuilder.php after 1.36 up to 1.51.\nPlease backup your files and configure this script before using.\n");
  5.  
  6. //set this to the path to your DataObject files
  7. $path '/path/to/DataObjectFiles/';
  8.  
  9. //DO NOT EDIT BELOW HERE
  10. if($path[strlen($path- 1!= '/'{
  11.     $path .= '/';
  12. }
  13.  
  14. include('File/SearchReplace.php');
  15. $snr = new File_SearchReplace('/select(Display|Order)Fields/''link\1Fields'array()$path);
  16. $snr->setSearchFunction('preg');
  17. $snr->doSearch();

Documentation generated on Mon, 11 Mar 2019 15:48:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.