Phpfox_Diff_Md5

Description

Exports all the files used by the product and creates an MD5 identification for the file. This is mainly used to idenify if a script has been modified in comparison to the default script provided by us.

  • author: Raymond Benc
  • version: $Id: md5.class.php 1687 2010-07-22 03:13:27Z Raymond_Benc $
  • copyright: [PHPFOX_COPYRIGHT]

Located in /include/library/phpfox/diff/md5.class.php (line 18)


	
			
Method Summary
 Phpfox_Diff_Md5 __construct ()
 string export ()
 void verify ()
 array _getFiles ([string $sFrom = '.'])
Methods
Constructor __construct (line 24)

Class constructor

  • access: public
Phpfox_Diff_Md5 __construct ()
export (line 71)

Creates an XML export of all the files in the product and includes an MD5 hash that identifies each of the files content

  • return: XML output
  • access: public
string export ()
verify (line 33)

Checks if there are any modified files in the product.

  • access: public
void verify ()
_getFiles (line 135)

Gets all the files found in the root directory of the script or based on the 1st arg..

  • return: An ARRAY of all the files found in a specific folder
  • access: private
array _getFiles ([string $sFrom = '.'])
  • string $sFrom: Folder to get all the files from

Documentation generated on Tue, 28 Sep 2010 10:36:41 +0200 by phpDocumentor 1.4.0a2