PHP Classes

File: examples/merger/merger.php

Recommend this page to a friend!
  Classes of Christian Vigh   PHP RTF Tools   examples/merger/merger.php   Download  
File: examples/merger/merger.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP RTF Tools
Parse and generate RTF documents using templates
Author: By
Last change: Modified the RtfDocument source to include the SearchableFile class, so that scripts will have to include only one file. Modified the examples accordingly
Date: 7 years ago
Size: 563 bytes


Class file image Download
     * This script demonstrates the usage of the RtfMerger class, by merging files "sample1.rtf" to
     * "sample4.rtf" and generating file "output.rtf".

include ( '../../sources/RtfMerger.phpclass' ) ;

$merger = new RtfMerger ( 'sample1.rtf', 'sample2.rtf', 'sample3.rtf', 'sample4.rtf' ) ;
$merger -> SaveTo ( "output.rtf" ) ;