Class Picasa_Tag

Description

Represents a Tag for Picasa photos.

Located in /Picasa/Tag.php (line 16)


	
			
Variable Summary
{@link $author
string $id
string $summary
string $title
string $updated
int $weight
Method Summary
static array getTagArray ([string $url = null], [ $xml = null], [ $contextArray = null], [boolean $useCache = true])
Picasa_Tag __construct ([ $tag = null])
string getId ()
string getSummary ()
string getTitle ()
string getUpdated ()
int getWeight ()
void setAuthor (Picasa_Author $author)
void setId (string $id)
void setSummary (string $summary)
void setTitle (string $title)
void setUpdated (string $updated)
void setWeight (int $weight)
string __toString ()
Variables
{@link $author (line 51)

The author of the comment.

  • var: Picasa_Author}
  • access: private
string $id (line 23)

The URL of the Atom feed for the tag.

  • access: private
string $summary (line 44)

The text of the tag.

  • access: private
string $title (line 37)

The title of the tag.

  • access: private
string $updated (line 30)

Time and date the tag was submitted.

  • access: private
int $weight (line 58)

The number of times the tag occurs in the requested feed.

  • access: private
Methods
static method getTagArray (line 209)

Constructs an array of Picasa_Tag objects based on the XML taken from either the $xml parameter or from the contents of $url.

  • return: An array of Picasa_Tag objects representing all tags in the requested feed.
  • link: http://php.net/simplexml
  • throws: Picasa_Exception If the XML passed (through either parameter) could not be used to construct a SimpleXMLElement.
  • access: public
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
Constructor __construct (line 156)

Constructs a Picasa_Tag object from XML.

  • access: public
Picasa_Tag __construct ([ $tag = null])
  • SimpleXMLElement $tag: XML representing a Picasa tag.
getAuthor (line 91)
  • access: public
Picasa_Author getAuthor ()
getId (line 63)
  • access: public
string getId ()
getSummary (line 84)
  • access: public
string getSummary ()
getTitle (line 77)
  • access: public
string getTitle ()
getUpdated (line 70)
  • access: public
string getUpdated ()
getWeight (line 98)
  • access: public
int getWeight ()
setAuthor (line 138)
  • access: public
void setAuthor (Picasa_Author $author)
setId (line 106)
  • access: public
void setId (string $id)
  • string $id
setSummary (line 130)
  • access: public
void setSummary (string $summary)
  • string $summary
setTitle (line 122)
  • access: public
void setTitle (string $title)
  • string $title
setUpdated (line 114)
  • access: public
void setUpdated (string $updated)
  • string $updated
setWeight (line 146)
  • access: public
void setWeight (int $weight)
  • int $weight
__toString (line 180)

Constructs a textual representation of everything in the current instantiation of the object.

  • access: public
string __toString ()

Documentation generated on Tue, 02 Jun 2009 14:51:53 -0700 by phpDocumentor 1.4.1