fatorial_xml.php

Go to the documentation of this file.
00001 <?php
00020 // 1. require once the code to diagram core
00021 require_once( '../../public/codetodiagram.php' );
00022 
00023 // 2. start the code to diagram
00024 CodeToDiagram::getInstance()->start();
00025 CodeToDiagram::getInstance()->setPrinterType( CodeToDiagram::PRINTER_TYPE_XML );
00026 // 3. require once the necessary classes
00027 require_once( "Fatorial.php" );
00028 
00029 // 4. start the class service
00030 Fatorial::play(3);
00031 
00032 ?>

Generated on Sat Apr 7 14:19:11 2012 for CodeToDiagram by  doxygen 1.5.9