Changeset 6
Author: Thiago Mata
(2009/02/25 15:30) Almost 3 years ago
first version of the codetodiagram in fact. Problems with constructors with parameters. Problems with not static methods called static mode. Problems with classes what are used in the same file when are declared. Parameters of methods without parameters name. Unabled to debug functions yet. Unabled to generated xml outputs. To see working open the test.php inside the public folder.
require_once( '../classes/_start.php' );$intZoom = (integer)CorujaArrayManipulation::getArrayField( $_POST , "zoom" , 50 );$strXml = CorujaArrayManipulation::getArrayField( $_POST , "xml" , file_get_contents( 'sequence.xml' ) );$intZoom = (integer)getArrayElement( $_POST , "zoom" , 50 );$strXml = getArrayElement( $_POST , "xml" , file_get_contents( 'sequence.xml' ) );{{For external use <a href="caller.php"> try this link </a> and see the HTML code.To internal use download from <a href="SequenceDiagram.rar">here</a>.$objXmlSequence->setZoom( $intZoom );