Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

ezplaintextparser.php
Go to the documentation of this file.
1 <?php
18 class eZPlainTextParser
19 {
20 function parseFile( $fileName )
21 {
22 $metaData = "";
23 if ( file_exists( $fileName ) )
24 {
25 $fp = fopen( $fileName, "r" );
26 $metaData = fread( $fp, filesize( $fileName ) );
27 fclose( $fp );
28 }
29
30 return $metaData;
31 }
32 }
33
34 ?>
eZPlainTextParser
The class eZPlainTextParser handles parsing of text files and returns the metadata.
Definition: ezplaintextparser.php:19
eZPlainTextParser\parseFile
parseFile( $fileName)
Definition: ezplaintextparser.php:20
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.