Documentation
toString
usage
string text = file->toString()
retourne
the content of the file.
exemples
include('../Kernel/common/file.class.php');
$summary = new File('/media/summary.txt');
$summary->create();
$folder = new Folder('/media/docs/');
while($file = $folder->getNextFile() ){
if($file->getExtension() == 'txt')
$summary->append( $file->toString() );
}