* */ require_once( "../public/codetodiagram.php" ); $strXml = CorujaArrayManipulation::getArrayField( $_REQUEST , "xml" , "" ); if( $strXml == "" ) { $strXml = file_get_contents( 'sequence.xml' ); } $strXml = html_entity_decode( $strXml ); $strXml = stripslashes( $strXml ); $objXmlSequence = UmlSequenceDiagramFactoryFromXml::getInstance()->setXml( $strXml )->perform(); $strTitle = CorujaArrayManipulation::getArrayField( $_REQUEST, "title" , 'Sequence Diagram' ); $intFont = (integer)CorujaArrayManipulation::getArrayField( $_REQUEST , "font" , 40 ); $intZoom = (integer)CorujaArrayManipulation::getArrayField( $_REQUEST , "zoom" , 50 ); $booDetails = (boolean)CorujaArrayManipulation::getArrayField( $_REQUEST , "detais" , false ); ?> <?php print $strTitle ?> getConfiguration()-> setZoom( $intZoom )-> setPercentFont( $intFont )-> setShowDetails( $booDetails )-> perform( $objXmlSequence ) ?>