PHP Classes

File: Examples/using_the_create_function.php

Recommend this page to a friend!
  Classes of Clement Sam   PHP Document Generator   Examples/using_the_create_function.php   Download  
File: Examples/using_the_create_function.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Document Generator
Convert HTML to MS Word and Excel and CSV files
Author: By
Last change:
Date: 4 years ago
Size: 371 bytes
 

Contents

Class file image Download
<?php

include '../ewc_generator.class.php';

$EWCGenerator = new EWCGenerator();

$gen = $EWCGenerator->create([
       
"file_name" => "default_ewc_generator",
       
"extension" => "doc",
       
"hasHTML" => false,
       
"document" => "../../applications.html",
       
"title" => [
           
"content"=>"pagetitle",
           
"align" => "center"
       
]
    ]);

if (!
$gen) {
    echo
$gen;
}
?>