cvs: peardoc /en/package/webservices/services-youtube example.xml /fr/package/webservices/services-youtube example.xml /ja/package/webservices/services-youtube example.xml

[email protected] ("Brett Bieber")
Newsgroups php.pear.doc
Message-ID <cvssaltybeagle1197398546@cvsserver>
saltybeagle		Tue Dec 11 18:42:26 2007 UTC

  Modified files:              
    /peardoc/en/package/webservices/services-youtube	example.xml 
    /peardoc/fr/package/webservices/services-youtube	example.xml 
    /peardoc/ja/package/webservices/services-youtube	example.xml 
  Log:
  Doc Bug #12259 misnamed variable in example --- "useCache" not "usesCache"
saltybeagle-20071211184226.txt (text/plain, 10.3 KB)
http://cvs.php.net/viewvc.cgi/peardoc/en/package/webservices/services-youtube/example.xml?r1=1.5&r2=1.6&diff_format=u
Index: peardoc/en/package/webservices/services-youtube/example.xml
diff -u peardoc/en/package/webservices/services-youtube/example.xml:1.5 peardoc/en/package/webservices/services-youtube/example.xml:1.6
--- peardoc/en/package/webservices/services-youtube/example.xml:1.5	Tue Jan  9 10:42:42 2007
+++ peardoc/en/package/webservices/services-youtube/example.xml	Tue Dec 11 18:42:26 2007
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <refentry id="package.webservices.services-youtube.example">
  <refnamediv>
   <refname>Example</refname>
@@ -17,7 +17,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $user = $youtube->getProfile($user_id);
 $profile = $user->user_profile;
 print "{$profile->first_name} {$profile->last_name} :({$profile->video_watch_count} Watched.)\n";
@@ -32,7 +32,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listFavoriteVideos($user_id);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -49,7 +49,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $users = $youtube->listFriends($user_id);
 foreach ($users->xpath('//friend') as $i => $friend) {
     print "{$friend->user} : Upload: {$friend->video_upload_count}";
@@ -65,7 +65,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $tag = "test";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listByTag($tag);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -82,7 +82,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listByUser($user_id);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -101,7 +101,7 @@
     <![CDATA[require_once 'Services/YouTube.php';
 
 $dev_id = "YOUR_DEV_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listFeatured();
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -118,7 +118,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $video_id = "VIDEO_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $video = $youtube->getDetails($video_id);
 $details = $video->video_details;
 print "{$details->title} : ({$details->tags}) : RATE: {$details->rating_avg} in {$detials->rating_count}";
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/webservices/services-youtube/example.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/fr/package/webservices/services-youtube/example.xml
diff -u peardoc/fr/package/webservices/services-youtube/example.xml:1.2 peardoc/fr/package/webservices/services-youtube/example.xml:1.3
--- peardoc/fr/package/webservices/services-youtube/example.xml:1.2	Wed Jan 10 04:58:40 2007
+++ peardoc/fr/package/webservices/services-youtube/example.xml	Tue Dec 11 18:42:26 2007
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.2 $ -->
-<!-- $Id: example.xml,v 1.2 2007/01/10 04:58:40 moosh Exp $ -->
+<!-- $Revision: 1.3 $ -->
+<!-- $Id: example.xml,v 1.3 2007/12/11 18:42:26 saltybeagle Exp $ -->
 <!-- EN-Revision: 1.5 Maintainer: moosh Status: ready -->
 <refentry id="package.webservices.services-youtube.example">
  <refnamediv>
@@ -22,7 +22,7 @@
 
 $dev_id = "VOTRE_ID_DE_DEV";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $utilisateur = $youtube->getProfile($user_id);
 $profil = $utilisateur->user_profile;
 print "{$profil->first_name} {$profil->last_name} :({$profil->video_watch_count} vidéos regardées.)\n";
@@ -37,7 +37,7 @@
 
 $dev_id = "VOTRE_ID_DE_DEV";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listFavoriteVideos($user_id);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -54,7 +54,7 @@
 
 $dev_id = "VOTRE_ID_DE_DEV";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $utilisateurs = $youtube->listFriends($user_id);
 foreach ($utilisateurs->xpath('//friend') as $i => $ami) {
     print "{$ami->user} : Upload: {$ami->video_upload_count}";
@@ -70,7 +70,7 @@
 
 $dev_id = "VOTRE_ID_DE_DEV";
 $tag = "test";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listByTag($tag);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -89,7 +89,7 @@
 
 $dev_id = "VOTRE_ID_DE_DEV";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listByUser($user_id);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -108,7 +108,7 @@
     <![CDATA[require_once 'Services/YouTube.php';
 
 $dev_id = "VOTRE_ID_DE_DEV";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listFeatured();
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -125,7 +125,7 @@
 
 $dev_id = "VOTRE_ID_DE_DEV";
 $video_id = "VIDEO_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $video = $youtube->getDetails($video_id);
 $details = $video->video_details;
 print "{$details->title} : ({$details->tags}) : RATE: {$details->rating_avg} in {$detials->rating_count}";
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/webservices/services-youtube/example.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/ja/package/webservices/services-youtube/example.xml
diff -u peardoc/ja/package/webservices/services-youtube/example.xml:1.1 peardoc/ja/package/webservices/services-youtube/example.xml:1.2
--- peardoc/ja/package/webservices/services-youtube/example.xml:1.1	Sat Feb  3 02:26:18 2007
+++ peardoc/ja/package/webservices/services-youtube/example.xml	Tue Dec 11 18:42:26 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <!-- EN-Revision: 1.5 Maintainer: takagi Status: ready -->
 <refentry id="package.webservices.services-youtube.example">
  <refnamediv>
@@ -19,7 +19,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $user = $youtube->getProfile($user_id);
 $profile = $user->user_profile;
 print "{$profile->first_name} {$profile->last_name} :({$profile->video_watch_count} Watched.)\n";
@@ -34,7 +34,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listFavoriteVideos($user_id);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -51,7 +51,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $users = $youtube->listFriends($user_id);
 foreach ($users->xpath('//friend') as $i => $friend) {
     print "{$friend->user} : Upload: {$friend->video_upload_count}";
@@ -67,7 +67,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $tag = "test";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listByTag($tag);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -84,7 +84,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $user_id = "USER_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listByUser($user_id);
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -102,7 +102,7 @@
     <![CDATA[require_once 'Services/YouTube.php';
 
 $dev_id = "YOUR_DEV_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $videos = $youtube->listFeatured();
 foreach ($videos->xpath('//video') as $i => $video) {
     print "<img src='{$video->thumbnail_url}' alt='{$video->title}' />\n";
@@ -119,7 +119,7 @@
 
 $dev_id = "YOUR_DEV_ID";
 $video_id = "VIDEO_ID";
-$youtube = new Services_YouTube($dev_id, array('usesCache' => true));
+$youtube = new Services_YouTube($dev_id, array('useCache' => true));
 $video = $youtube->getDetails($video_id);
 $details = $video->video_details;
 print "{$details->title} : ({$details->tags}) : RATE: {$details->rating_avg} in {$detials->rating_count}";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.