ultimix
page_file.php
Go to the documentation of this file.
1 <?php
2 
3  /*
4  * This source code is a part of the Ultimix Project.
5  * It is distributed under BSD license. All other third side source code (like tinyMCE) is distributed under
6  * it's own license wich could be found from the corresponding files or sources.
7  * This source code is provided "as is" without any warranties or garanties.
8  *
9  * Have a nice day!
10  *
11  * @url http://ultimix.sorceforge.net
12  *
13  * @author Alexey "gdever" Dodonov
14  */
15 
27 
38  function __construct()
39  {
40  try
41  {
42  }
43  catch( Exception $e )
44  {
45  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
46  }
47  }
48 
71  function get_file_name( $Files )
72  {
73  try
74  {
75  $FilesHash = implode( '' , $Files );
76 
77  foreach( $Files as $k2 => $v2 )
78  {
79  $FilesHash .= $v2;
80  }
81 
82  return( md5( implode( '' , $Files ) ) );
83  }
84  catch( Exception $e )
85  {
86  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
87  }
88  }
89  }
90 
91 ?>