Constructs an array of Picasa_Tag objects based on the XML taken from either the $xml parameter or from the contents of $url.
static
array
getTagArray
([string $url = null], [ $xml = null], [ $contextArray = null], [boolean $useCache = true])
-
string
$url: A URL pointing to a Picasa Atom feed that has zero or more "entry" nodes represeing a Picasa tag. Optional, the default is null. If this parameter is null, the method will try to get the XML content from the $xml parameter directly.
-
SimpleXMLElement
$xml: XML from a Picasa Atom feed that has zero or more "entry" nodes represeing a Picasa tag. Optional, the default is null. If the $url parameter is null and the $xml parameter is null, a {@Picasa_Exception} is thrown.
-
boolean
$useCache: You can decide not to cache a specific request by passing false here. You may want to do this, for instance, if you're requesting a private feed.
-
$contextArray
Constructs a Picasa_Tag object from XML.
Picasa_Tag
__construct
([ $tag = null])
-
SimpleXMLElement
$tag: XML representing a Picasa tag.
void
setSummary
(string $summary)
void
setTitle
(string $title)
void
setUpdated
(string $updated)
void
setWeight
(int $weight)
Constructs a textual representation of everything in the current instantiation of the object.
string
__toString
()