Skip to content

Commit

Permalink
Merge pull request BenMenking#12 from exmac/master
Browse files Browse the repository at this point in the history
fixed names of parseResponse
  • Loading branch information
BenMenking committed Mar 4, 2016
2 parents 33bb4b1 + c6db261 commit c9f260f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/example1.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

$API->write('/interface/getall');

$READ = $API->read();
$ARRAY = $API->parse_response($READ);
$READ = $API->read(false);
$ARRAY = $API->parseResponse($READ);

print_r($ARRAY);

$API->disconnect();

}

?>
?>
6 changes: 3 additions & 3 deletions examples/example2.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
$API->write('/interface/wireless/registration-table/print',false);
$API->write('=stats=');

$READ = $API->read();
$ARRAY = $API->parse_response($READ);
$READ = $API->read(false);
$ARRAY = $API->parseResponse($READ);

print_r($ARRAY);

$API->disconnect();

}

?>
?>

0 comments on commit c9f260f

Please sign in to comment.