shahinbdboy / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

variable names $client and $apiClient in wiki examples are synonymous #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm tryng to understand how to install google-api-php-client for my web server 
app.

The example code in Wiki page "Using the library" assigns 'new apiClient()' to 
the variable '$apiClient'.
But just in the next page "OAuth 2.0 support" the same 'apiClient()' is 
assigned to the variable '$client'.

I expected examples in close Wiki pages are coherent with each other, more like 
a step by step tutorial.

Was it made intentionally?
I'm not so expert in coding, it took me some time to realize that it was the 
same thing with two different names.

Thank you. 

Original issue reported on code.google.com by chicome...@gmail.com on 3 May 2012 at 1:41

GoogleCodeExporter commented 8 years ago

Original comment by chirags@google.com on 9 May 2012 at 5:19

GoogleCodeExporter commented 8 years ago

Original comment by chirags@google.com on 15 May 2012 at 9:05