cvs: pear /FSM/examples graphviz.php /FSM/tests graphviz.phpt
| From: | Jon Parise | Date: | Sun, 10 Feb 2008 22:23:49 +0000 |
| Subject: | cvs: pear /FSM/examples graphviz.php /FSM/tests graphviz.phpt | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-50970@lists.php.net to get a copy of this message | ||
jon Sun Feb 10 22:23:49 2008 UTC
Modified files:
/pear/FSM/examples graphviz.php
/pear/FSM/tests graphviz.phpt
Log:
Actually, "converter" is a better name for these variables.
http://cvs.php.net/viewvc.cgi/pear/FSM/examples/graphviz.php?r1=1.2&r2=1.3&diff_format=u
Index: pear/FSM/examples/graphviz.php
diff -u pear/FSM/examples/graphviz.php:1.2 pear/FSM/examples/graphviz.php:1.3
--- pear/FSM/examples/graphviz.php:1.2 Sun Feb 10 22:15:55 2008
+++ pear/FSM/examples/graphviz.php Sun Feb 10 22:23:47 2008
@@ -6,7 +6,7 @@
$payload = array();
$fsm = new FSM('START', $payload);
-$graphviz = new FSM_GraphViz($fsm);
-$graph = $graphviz->export();
+$converter = new FSM_GraphViz($fsm);
+$graph = $converter->export();
$graph->image('png');
http://cvs.php.net/viewvc.cgi/pear/FSM/tests/graphviz.phpt?r1=1.1&r2=1.2&diff_format=u
Index: pear/FSM/tests/graphviz.phpt
diff -u pear/FSM/tests/graphviz.phpt:1.1 pear/FSM/tests/graphviz.phpt:1.2
--- pear/FSM/tests/graphviz.phpt:1.1 Sun Feb 10 22:15:55 2008
+++ pear/FSM/tests/graphviz.phpt Sun Feb 10 22:23:49 2008
@@ -15,8 +15,8 @@
$stack = array();
$fsm = new FSM('START', $stack);
-$graphviz = new FSM_GraphViz($fsm);
-$graph = $graphviz->export();
+$converter = new FSM_GraphViz($fsm);
+$graph = $converter->export();
echo $graph->parse();