[Picasa] element index

Package indexes

All elements
a b c d e f g h i k l m n p r s t u v w _
_
top
__construct
Constructs an ImageCollection object from the Picasa XML feed.
__construct
Constructs an Account object.
__construct
Constructs a Logger object. Declared as private for Singleton pattern so there is only one instance.
__construct
Picasa::__construct() in Picasa.php
The constructor allows the instantiation of an unauthorized or authorized Picasa object.
__construct
Constructs a Thumbnail object.
__construct
Constructs a Picasa_Tag object from XML.
__construct
Constructs a Picasa_Comment object from XML.
__construct
Constructs an Image object.
__construct
Constructs an Album object.
__construct
Constructs a Picasa_Author object from XML. It's important to remember that several of the fields in any Picasa_Author object will be null or blank. It depends on what type of feed you're requesting. It's best to do trial and error before relying on a field to be populated.
__construct
Constructs a Cache object. Declared as private for Singleton pattern so there is only one instance.
__toString
Constructs a textual representation of everything in the current instantiation of the object.
__toString
Constructs a textual representation of everything in the current instantiation of the object.
__toString
Constructs a textual representation of the current instantiation.
__toString
Picasa::__toString() in Picasa.php
Constructs a textual representation of everything in the current instantiation of the object.
__toString
Constructs a textual representation of the current instantiation.
__toString
Constructs a textual representation of the current instantiation.
__toString
Constructs a textual representation of the current instantiation.
__toString
Constructs a textual representation of the current Picasa_Comment instantiation.
__toString
Constructs a textual representation of the current instantiation.
a
top
$accountName
The username of the account the comment was posted to.
$albumDescription
$albumid
The albumid of the album that the image of the comment is in.
$albumid
The id number of the Album the image is in.
$albums
An array of Picsaa_Album objects for each album in the requested feed.
$albumTitle
$auth
Picasa::$auth in Picasa.php
A token supplied by Google after a successful attempt to authorize this object.
$author
The author of the comment.
$author
The username of the user who uploaded the album.
$author
Picasa_ImageCollection::$author in ImageCollection.php
The author of the collection.
$author
$author
The name of the Account's owner.
$author
The author of the comment.
$authType
Picasa::$authType in Picasa.php
The type of authorization that has been used to authenticate this instance.
$AUTH_TYPE_AUTH_SUB
A number designated to represeting the AuthSub method for Authorizing an object.
$AUTH_TYPE_CLIENT_LOGIN
A number designated to represeting the Client Login method for Authorizing an object.
authorizeFromCookie
Fetches the authorization token from the user's cookies- if one exists- and logs the user in using the retrieved token.
authorizeWithAuthSub
Authorizes the current object with Google's AuthSub authorization method, described in Google's documentation
authorizeWithClientLogin
Authorizes a Google email address through the Client Login method, described in Google's documentation (http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html). This allows special functions such as posting images and comments.
Account.php
Account.php in Account.php
Album.php
Album.php in Album.php
Author.php
Author.php in Author.php
b
top
$BASE_ENTRY_QUERY_URL
The base for queries that use the "entry" path instead of the "feed" path. It's not clear what differentiates this path from the path in Picasa::$BASE_QUERY_URL, but the documentation makes it clear when each is necessary.
$BASE_MEDIA_QUERY_URL
The base for queries that use the "media" path instead of the "feed" path. This path is required for updating the binary data in an image.
$BASE_QUERY_URL
The base for a standard query. All non-authenticated queries begin with this string.
$bytesUsed
The size of the current album with all the photos, in bytes.
buildQueryParams
Constructs a string of optional query parameters for requesting a feed from Picasa.
c
top
$cacheExpire
The number of seconds after any file is cached that it should be refreshed. If a cache key is accessed this number of seconds after it is initially set, the caching mechanism behaves as though it is not cached.
$cachePath
The absolute path to store the cache files. PHP must have write access to this path or caching will be turned off.
$cameraMake
$cameraModel
$commentCount
The number of comments entered for the image.
$commentingEnabled
Determines whether or not commenting is allowed on pictures in the album.
$commentingEnabled
$comments
An array of Picasa_Comment objects containing all the comments for the image.
$comments
An array of Picasa_Comment objects, one for each comment in the album.
$content
The comment's text.
$content
A downloadable link to the full size of the photo.
$contentHeightMap
$contentUrlMap
A map of image widths to their respective URLs.
$contextArray
Picasa::$contextArray in Picasa.php
An array that is in an acceptable format for the php function stream_context_create() to create a context.
$contextArray
An array that can be passed to stream_create_context() to get a context.
$contextArray
An array that can be passed to stream_create_context() to get a context. This context array is used rather than just an auth token because the context array holds both the auth token and the type of authentication that was performed. The context can be passed as a parameter when instantiating a Picasa object to make the instantiation authenticated.
$COOKIE_NAME_AUTH_SUB_TOKEN
The title of the cookie to use when setting and retrieving an AuthSub token from a user's Cookies.
$COOKIE_NAME_CLIENT_LOGIN_TOKEN
The title of the cookie to use when setting and retrieving an Client Login token from a user's Cookies.
cacheGet
Gets the contents at the specified cache key. It will throw an error if the key is not in the cache. It will also return the contents if the cache key has expired. The existence and validity of the key needs to be checked before calling this.
clear
Clears the cache. If a path is supplied, just clears the key mapping to that path. Otherwise, clears the entire cache.
clearAuthentication
Clears authentication fields in the object and sets the header information back to the default, non-autenticated version.
constructAlbumXML
Generates the XML necessary for creating a Picasa Web Album.
constructContextArray
Builds a context array from the authorization information in the current instantiation.
constructImageXML
Generates the XML necessary for creating a Picasa image.
convertFromSingleUseToSessionToken
When authorizing with AuthSub, Picasa initially issues a single-use token, which can only be used once.
copyAlbum
Picasa::copyAlbum() in Picasa.php
Copies the album attributes along with all images in the album to a new username.
copyImage
Picasa::copyImage() in Picasa.php
Copies an image with most attributes from one album to the other.
Cache.php
Cache.php in Cache.php
Comment.php
Comment.php in Comment.php
d
top
$DEFAULT_CACHE_EXPIRE
Default number of seconds a file will remain cached before it is refreshed.
$DEFAULT_CACHE_PATH
Default location on your server's file system that cache files are stored.
$description
A description of the image, entered by the account owner.
deauthorize
Picasa::deauthorize() in Picasa.php
If the current instantiation is authorized using the "AuthSub" method, this actively invalidates the token.
deleteAlbum
Picasa::deleteAlbum() in Picasa.php
Delete an entire album from Picasa Web Albums.
deleteComment
Deletes a comment applied to a specific image in Picasa Web Albums.
deleteImage
Picasa::deleteImage() in Picasa.php
Deletes an image from a Picasa Web Album.
deleteTag
Picasa::deleteTag() in Picasa.php
Deletes a tag applied to a specific image.
do_request
Picasa::do_request() in Picasa.php
Executes a request.
e
top
$editLink
The link to use when editing the album.
$emailAddress
Picasa::$emailAddress in Picasa.php
The email address or username that this instantiation is associated with.
$enabled
Flag to determine whether or not to cache files.
$enabled
Flag to determine whether or not to log statements.
$exposure
existsInCache
Checks the mere existance (not expiration) of a cache key.
f
top
$flash
$focalLength
$fstop
g
top
$gmlPosition
The location that the photos in the album were taken in GML format.
$gmlPosition
The location that the image was taken.
getAccountName
getAlbumById
Retrieves the Picasa web album with the specified id.
getAlbumByIdAsEntry
Retrieves an Album as an Entry as opposed to a Feed.
getAlbumDescription
getAlbumid
getAlbumid
getAlbums
getAlbumsByUsername
Retrieves a list of Picasa Albums contained within a Picasa_Account object based on the criteria supplied.
getAlbumTitle
getAuthHeader
Constructs the line that is necessary for passing authorization information within the HTTP header to Picasa.
getAuthor
getAuthor
getAuthor
getAuthor
getAuthor
getAuthor
getAuthorArray
Constructs an array of Picasa_Author objects based on the XML taken from either the $xml parameter or from the contents of $url.
getAuthToken
Getter method for the $auth private field.
getAuthType
Picasa::getAuthType() in Picasa.php
Fetches the type of authorization this instantiation is configured with.
getBytesUsed
getCache
Public method to get a Cache instance. This is to ensure that only one instance is ever created.
getCacheExpire
getCacheKey
Converts the URL to the feed to cache into a cache key.
getCachePath
getCameraMake
getCameraModel
getCommentArray
Constructs an array of Picasa_Comment objects based on the XML taken from either the $xml parameter or from the contents of $url.
getCommentById
Retrieves the comment with the given id.
getCommentCount
getCommentingEnabled
getCommentingEnabled
getComments
getComments
Gets the comments for this image.
getCommentsByUsername
Gets all comments that meet the criteria specified in the parameters.
getContactsByUsername
Retrieves contacts of the user specified in the parameter.
getContent
getContent
getContentHeightMap
getContentUrlMap
getContext
Picasa::getContext() in Picasa.php
Turns a context array into a resource, which can then be used in PHP methods such as http://www.php.net/file_get_contents and http://www.php.net/fopen.
getContextArray
Fetches the context array for this object.
getDescription
getEditLink
getExceptionFromInvalidPost
Matches the supplied $buf contents against several different HTTP response codes to determine what kind of Picasa_Exception to return.
getExceptionFromInvalidQuery
Executes a GET request on the $url passed in and traps the error code to pass with the exception.
getExposure
getFlash
getFocalLength
getFstop
getGmlPosition
getGmlPosition
getHeight
getHeight
getIcon
getIcon
Picasa_ImageCollection::getIcon() in ImageCollection.php
getIcon
getId
getId
getId
getId
getId
Picasa_ImageCollection::getId() in ImageCollection.php
getId
getIdnum
getIdnum
getIdnum
getIfCached
Gets the requested feed from the cache if it exists. If it doesn't, returns false.
getImageById
Retrieves the image with the given id.
getImageByIdAsEntry
Retrieves the image with the given id as an entry as opposed to a feed.
getImages
getImages
The $images feild can somtimes be null because it's not always included in the XML used to create some objects. If that is the case, query the album feed using Picasa::getAlbumById() to get the images in the album. This is done when the client tries to access the images array so that it's not done if it's not requested.
getImages
Picasa::getImages() in Picasa.php
Retrieves all images meeting the supplied parameters.
getImageType
getIso
getKeywords
getLargeThumb
getLocation
getLogger
Public method to get a logger instance. This is to ensure that only one instance is ever created.
getMediumThumb
getName
getNext
getNickname
getNumComments
getNumphotos
getPhotoid
getPhotosRemaining
getPicasaAuthor
getPicasaAuthor
getPicasaAuthor
getPrevious
getPublished
getPublished
getResponseValue
Looks in the supplied response for the supplied key and finds the value associated with the key if one exists.
getRights
getSmallThumb
getSubtitle
getSubtitle
getSubtitle
getSummary
getSummary
getTagArray
Constructs an array of Picasa_Tag objects based on the XML taken from either the $xml parameter or from the contents of $url.
getTags
getTags
getTagsByUsername
Retrieves tags that meet the supplied parameters.
getThumbHeightMap
getThumbnail
getThumbnails
getThumbUrlMap
getTimestamp
getTimestamp
getTimeTaken
getTitle
getTitle
Picasa_ImageCollection::getTitle() in ImageCollection.php
getTitle
getTitle
getTitle
getTitle
getUpdated
getUpdated
getUpdated
getUpdated
getUpdated
getUri
getUrl
getUrlToLoginPage
Constructs the URL that the user should be redirected to in order to be authorized with the AuthSub method.
getUser
getVersion
getWeblink
getWeblink
getWeblink
getWeight
getWidth
getWidth
h
top
$height
Picasa_Thumbnail::$height in Thumbnail.php
The height of the thumbnail.
$height
The original height of the image.
i
top
$icon
Picasa_ImageCollection::$icon in ImageCollection.php
The URL to the icon for the collection, probably the author's icon.
$icon
Picasa_Album::$icon in Album.php
The URL of the album's cover (160px x 160px).
$icon
Picasa_Account::$icon in Account.php
A URL to the account icon, probably the author's icon.
$id
Picasa_Tag::$id in Tag.php
The URL of the Atom feed for the tag.
$id
Picasa_Image::$id in Image.php
The URL to the image's page on PicasaWeb.
$id
Picasa_ImageCollection::$id in ImageCollection.php
The base URL to the feed that was requested.
$id
Picasa_Album::$id in Album.php
The URL of the image's page on Picasa Web.
$id
Picasa_Comment::$id in Comment.php
The URL of the Atom feed for the comment.
$id
Picasa_Account::$id in Account.php
The base URL of the feed that was requested.
$idnum
A unique number assigned to the image by Picasa, unique across all Picasa images.
$idnum
Picasa_Comment::$idnum in Comment.php
A unique number assigned to the comment.
$idnum
A numberic value assigned to the album by Picasa, unique across all Picasa albums.
$images
An array of Picasa_Image objects representing each photo in the album.
$images
Picasa_ImageCollection::$images in ImageCollection.php
An array of Picasa_Image objects.
$imageType
$instance
The logger instance, used for the Singleton pattern.
$instance
The caching instance, used for the Singleton pattern.
$iso
Picasa_Image::$iso in Image.php
$itemsPerPage
isAuthenticated
Determines whether the instantiated Picasa object has been authenticated.
isAuthorizationValid
Checks if an AuthSub authorization is valid by requesting the information from Picasa.
isCached
Checks if the feed passed in is already cached.
isEnabled
Just checks the value of the enabled flag. Could be true or false. If true, log messages will be printed. If false, log messages will be supressed.
isEnabled
Just checks the value of the enabled flag. Could be true or false.
isExpired
Checks if a cache key has expired.
Image.php
Image.php in Image.php
ImageCollection.php
ImageCollection.php in ImageCollection.php
k
top
$keywords
A comma seperated list of keywords for the image (Deprecated, use $tags).
l
top
$largeThumb
The largest thumbnail provided by Picasa by default.
$location
The location that the album is listed as being taken at.
loadPreviousAndNext
Loads the private members $previous and $next with the previous and next images in their album.
log
Picasa_Logger::log() in Logger.php
Prints the provided message to the screen followed by a line break.
logIfEnabled
Logs a message if logging is currently enabled. If logging is not enabled, the message is supressed.
Logger.php
Logger.php in Logger.php
m
top
$mediumThumb
The middle thumbnail provided by Picasa by default.
n
top
$name
Picasa_Author::$name in Author.php
The registered name of the user.
$next
Picasa_Image::$next in Image.php
The next image in the image's current album.
$nickname
The user's Picasa nickname.
$numComments
The number of comments made for all photos in the album.
$numphotos
The number of photos in the album.
p
top
$photoid
The unique numeric value assigned to the photo by Picasa.
$photosRemaining
The number of photos that can still be uploaded to the album without reaching the album's limit.
$picasaAuthor
A Picasa_Author object representing the album's author.
$picasaAuthor
A Picasa_Author object for the author of the collection. Not all fields will be filled.
$picasaAuthor
The account author.
$PICASA_URL
Picasa::$PICASA_URL in Picasa.php
The Url, without the protocol, of Picasa Web.
$previous
The previous image in the image's current album.
$published
The date the album was originally published.
$published
The time and date the comment was submitted.
Picasa
Picasa in Picasa.php
The primary class for interactions with Picasa.
Picasa.php
Picasa.php in Picasa.php
Picasa_Account
Picasa_Account in Account.php
Represents a Picasa Account, which holds an array of Albums. The general idea is to instantiate an instance of this object using XML from Picasa's Atom feed and then access the needed information about the Picasa account through getters and setters.
Picasa_Album
Picasa_Album in Album.php
Holds a Picasa album.
Picasa_Author
Picasa_Author in Author.php
Holds a Picasa user.
Picasa_Cache
Picasa_Cache in Cache.php
A simple chaching mechanism to reduce the number of calls made to the Picasa service.
Picasa_Comment
Picasa_Comment in Comment.php
Represents a comment left for a Picasa photo.
Picasa_Image
Picasa_Image in Image.php
Represents a single image in a Picasa account.
Picasa_ImageCollection
Picasa_ImageCollection in ImageCollection.php
Represents a collection of images that are retrieved outside of an actual Album.
Picasa_Logger
Picasa_Logger in Logger.php
A simple logging mechanism for displaying information while debugging a client application.
Picasa_Tag
Picasa_Tag in Tag.php
Represents a Tag for Picasa photos.
Picasa_Thumbnail
Picasa_Thumbnail in Thumbnail.php
Represents the simplest form of an image. Contains attributes not specific to Picasa but global to images of all types.
postAlbum
Picasa::postAlbum() in Picasa.php
Post a new album to Picasa Web Albums.
postComment
Picasa::postComment() in Picasa.php
Posts a comment to a photo on Picasa.
postImage
Picasa::postImage() in Picasa.php
Posts an image to a Picasa Web Album.
postTag
Picasa::postTag() in Picasa.php
Add a tag to an existing Picasa image. A tag is a single word that describes all or part of the photo.
r
top
$rights
Indicates whether the album is public or private.
redirectToLoginPage
Redirects the user to Google's AuthSub login page so that they can login to access restricted functions.
s
top
$smallThumb
A URL to the smallest thumbnail provided by Picasa by default.
$startIndex
$subtitle
The account subtitle, probably blank.
$subtitle
A description of the album, entered by the author.
$subtitle
Picasa_ImageCollection::$subtitle in ImageCollection.php
The subtitle for the collection. Probably blank.
$summary
It's unclear what this field is for. It is likely blank.
$summary
The text of the tag.
saveAuthToCookie
Saves the authentication token that was returned from Google to the user's browser in a cookie.
setAccountName
setAlbumDescription
setAlbumid
setAlbumid
setAlbums
setAlbumTitle
setAuthor
setAuthor
setAuthor
setAuthor
setAuthor
setAuthor
setAuthorizationInfo
Sets the private fields in the object with authorization information that is passed in.
setBytesUsed
setCacheExpire
setCachePath
setCameraMake
setCameraModel
setCommentCount
setCommentingEnabled
setCommentingEnabled
setComments
setComments
setContent
setContent
setContentHeightMap
setContentUrlMap
setDescription
setEditLink
setEnabled
Sets the flag that determines whether or not to cache.
setEnabled
Sets the flag that determines whether or not to print log messages.
setExposure
setFlash
setFocalLength
setFstop
setGmlPosition
setGmlPosition
setHeight
setHeight
setIcon
Picasa_ImageCollection::setIcon() in ImageCollection.php
setIcon
setIcon
setId
Picasa_ImageCollection::setId() in ImageCollection.php
setId
setId
setId
setId
setId
setIdnum
setIdnum
setIdnum
setImages
setImages
setImageType
setInCache
Caches the contents of a file.
setIso
setKeywords
setLargeThumb
setLocation
setMediumThumb
setName
setNext
setNickname
setNumComments
setNumphotos
setPhotoid
setPhotosRemaining
setPicasaAuthor
setPicasaAuthor
setPicasaAuthor
setPrevious
setPublished
setPublished
setRights
setSmallThumb
setSubtitle
setSubtitle
setSubtitle
setSummary
setSummary
setTags
setThumbHeightMap
setThumbnail
setThumbnails
setThumbUrlMap
setTimestamp
setTimestamp
setTimeTaken
setTitle
setTitle
Picasa_ImageCollection::setTitle() in ImageCollection.php
setTitle
setTitle
setTitle
setTitle
setUpdated
setUpdated
setUpdated
setUpdated
setUpdated
setUri
setUrl
setUser
setVersion
setWeblink
setWeblink
setWeblink
setWeight
setWidth
setWidth
t
top
$tags
Picasa_Image::$tags in Image.php
An array of strings, one for each keyword associated with the image.
$tags
Picasa_Album::$tags in Album.php
An array of Picasa_Tag objects representing all tags found in the album.
$thumbHeightMap
A mapping of thumbnail widths to their respective heights.
$thumbnail
The address of an image selected by the user as their thumbnail.
$thumbnails
An array of Picasa_Thumbnail objects.
$thumbUrlMap
A mapping of thumbnail widths to the URLs for those thumbnails.
$timestamp
The number of miliseconds after January 1st, 1970 that the image was taken.
$timestamp
The number of miliseconds after January 1st, 1970 that the image was taken.
$timeTaken
$title
Picasa_Account::$title in Account.php
The account title, probably the owner's username.
$title
The title of the tag.
$title
The title or file name of the photo.
$title
Picasa_ImageCollection::$title in ImageCollection.php
The title given to the collection. Probably the author's username.
$title
The image's title, as set by the author.
$title
Picasa_Comment::$title in Comment.php
The title of the comment.
$totalResults
Tag.php
Tag.php in Tag.php
Thumbnail.php
Thumbnail.php in Thumbnail.php
u
top
$updated
Picasa_ImageCollection::$updated in ImageCollection.php
The date and time the collection was requested in UTC time.
$updated
Time and date the tag was submitted.
$updated
The date that the album was last updated.
$updated
The date that the image was last updated.
$updated
The time and date the comment was updated.
$uri
Picasa_Author::$uri in Author.php
The address of their main page on Picasa.
$url
Picasa_Thumbnail::$url in Thumbnail.php
The location of the image.
$user
Picasa_Author::$user in Author.php
The username of the user.
updateAlbum
Picasa::updateAlbum() in Picasa.php
Update the meta data associated with the specified album.
updateImage
Picasa::updateImage() in Picasa.php
Updates an image in a Picasa Web Album. This method can be used for updating just the meta data or the meta data and image itself.
v
top
$version
w
top
$weblink
The URL to account in PicasaWeb.
$weblink
The URL to actual imagepage PicasaWeb.
$weblink
The URL to album PicasaWeb.
$weight
The number of times the tag occurs in the requested feed.
$width
Picasa_Thumbnail::$width in Thumbnail.php
The width of the thumbnail.
$width
The original width of the image.
a b c d e f g h i k l m n p r s t u v w _