/example.php

Description
Includes
include_once ('PhpMyCellScript.php') (line 6)
include_once ('PhpMyCodeGenerator.php') (line 5)
Functions
gen_echo (line 16)

Just echo the cell values in the selected worksheet.

void gen_echo (Excel.Application $excel, Excel.Worksheet $worksheet, array $argv)
  • Excel.Application $excel
  • Excel.Worksheet $worksheet
  • array $argv: Code generator specific arguments.
gen_script (line 72)

This is not really a code generator, but an interpreter for a scripting language, called PhpMyCellScript.

Beside demonstrating to use spreadsheet to write scripts, this example also demonstrates to provide templates in spreadsheet, which makes it easier to output a set of files.

void gen_script (Excel.Application $excel, Excel.Worksheet $worksheet, array $argv)
  • Excel.Application $excel
  • Excel.Worksheet $worksheet
  • array $argv: Code generator specific arguments.
gen_uml_seq (line 36)

Generate the properties for a UMLet All in one sequence diagram.

Just support synchronous calls. Not support activation boxes.

void gen_uml_seq (Excel.Application $excel, Excel.Worksheet $worksheet, array $argv)
  • Excel.Application $excel
  • Excel.Worksheet $worksheet
  • array $argv: Code generator specific arguments.

Documentation generated on Sun, 01 Mar 2015 08:43:49 +0000 by phpDocumentor 1.4.3