1
0

Pick a random photo.

This commit is contained in:
Bharat Mediratta 2010-01-08 15:30:54 -08:00
parent 300a07b4ab
commit 88e1fbf28e

View File

@ -39,6 +39,10 @@ alert("Search for the photo");
$photos = $root->get("", array("name" => "Sample"));
alert("Found: {$photos->members[0]}");
alert("Grab a random photo");
$photos = $root->get("", array("random" => "true"));
alert("Found: {$photos->members[0]}");
alert("Tag the album");
$tag->add()
->set_value("url", $album->url)