summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2006-12-14 14:40:19 +0000
committerDerick Rethans <github@derickrethans.nl>2006-12-14 14:40:19 +0000
commit92feb00d74d06b7b24c4a7763d6ea720a0008dc3 (patch)
tree86f1efcedcb3f75f394c528b9a86cfe6a2e11d97 /docs
parentdb32f5b1a16ffac91d48067e9c2c6318158419ad (diff)
downloadzetacomponents-graph-92feb00d74d06b7b24c4a7763d6ea720a0008dc3.zip
zetacomponents-graph-92feb00d74d06b7b24c4a7763d6ea720a0008dc3.tar.gz
- CS change (automatic script)
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial_example_28.php4
-rw-r--r--docs/tutorial_example_29.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorial_example_28.php b/docs/tutorial_example_28.php
index 88ff5bd..2a2135c 100644
--- a/docs/tutorial_example_28.php
+++ b/docs/tutorial_example_28.php
@@ -27,7 +27,7 @@ $xpath = new DomXPath( $dom );
// Link chart elements
foreach( $elements['data']['Access statistics'] as $objectName => $ids )
{
- foreach( $ids as $id )
+ foreach ( $ids as $id )
{
echo "Link: $id\n";
$element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 );
@@ -40,7 +40,7 @@ foreach( $elements['data']['Access statistics'] as $objectName => $ids )
// Link legend elements
foreach( $elements['legend'] as $objectName => $ids )
{
- foreach( $ids as $id )
+ foreach ( $ids as $id )
{
echo "Link: $id\n";
$element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 );
diff --git a/docs/tutorial_example_29.php b/docs/tutorial_example_29.php
index bc1920d..7611475 100644
--- a/docs/tutorial_example_29.php
+++ b/docs/tutorial_example_29.php
@@ -33,7 +33,7 @@ $elements = $graph->renderer->getElementReferences();
foreach ( $polygones as $shape => $polygone )
{
$coordinateString = '';
- foreach( $polygone as $coordinate )
+ foreach ( $polygone as $coordinate )
{
$coordinateString .= sprintf( '%d,%d,', $coordinate->x, $coordinate->y );
}
OpenPOWER on IntegriCloud