-
$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
-
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
-
The author of the collection.
-
$author
-
-
$author
-
The name of the Account's owner.
-
$author
-
The author of the comment.
-
$authType
-
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
-
-
Account.php
-
-
Album.php
-
-
Author.php
-
-
$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
-
-
$captchaPath
-
The path of the CAPTCHA URL, without the server name at the beginning. This field may be useless.
-
$captchaToken
-
The token supplied by Google, which is used by their servers to determine which image the captcha response is in response to.
-
$captchaUrl
-
The URL of the image that contains the challenge.
-
$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
-
An array that can be passed to stream_create_context() to get a context.
-
$contextArray
-
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. 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
-
Copies the album attributes along with all images in the album to a new username.
-
copyImage
-
Copies an image with most attributes from one album to the other.
-
Cache.php
-
-
Comment.php
-
-
CaptchaRequiredException.php
-
-
ConflictException.php
-
-
$gmlPosition
-
The location that the image was taken.
-
$gmlPosition
-
The location that the photos in the album were taken in GML format.
-
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
-
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
-
-
getCaptchaPath
-
Getter field for private member.
-
getCaptchaToken
-
Getter field for private member.
-
getCaptchaUrl
-
Getter field for private member.
-
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
-
-
getContextArray
-
Fetches the context array for this object.
-
getDescription
-
-
getEditLink
-
-
getEmailAddress
-
Getter field for private member.
-
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
-
-
getIcon
-
-
getId
-
-
getId
-
-
getId
-
-
getId
-
-
getId
-
-
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
-
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
-
Retrieves all images meeting the supplied parameters.
-
getImages
-
-
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
-
-
getPassword
-
Getter field for private member.
-
getPhotoid
-
-
getPhotosRemaining
-
-
getPicasaAuthor
-
-
getPicasaAuthor
-
-
getPicasaAuthor
-
-
getPrevious
-
-
getPublished
-
-
getPublished
-
-
getResponse
-
Getter method for $response field.
-
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
-
-
getTitle
-
-
getTitle
-
-
getTitle
-
-
getTitle
-
-
getUpdated
-
-
getUpdated
-
-
getUpdated
-
-
getUpdated
-
-
getUpdated
-
-
getUri
-
-
getUrl
-
Getter method for $url field.
-
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
-
-
$icon
-
A URL to the account icon, probably the author's icon.
-
$icon
-
The URL to the icon for the collection, probably the author's icon.
-
$icon
-
The URL of the album's cover (160px x 160px).
-
$id
-
The URL of the Atom feed for the tag.
-
$id
-
The URL of the Atom feed for the comment.
-
$id
-
The base URL to the feed that was requested.
-
$id
-
The URL to the image's page on PicasaWeb.
-
$id
-
The base URL of the feed that was requested.
-
$id
-
The URL of the image's page on Picasa Web.
-
$idnum
-
A unique number assigned to the image by Picasa, unique across all Picasa images.
-
$idnum
-
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.
-
$images
-
An array of
Picasa_Image objects representing each photo in the album.
-
$imageType
-
-
$instance
-
The logger instance, used for the Singleton pattern.
-
$instance
-
The caching instance, used for the Singleton pattern.
-
$iso
-
-
$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.
-
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.
-
isExpired
-
Checks if a cache key has expired.
-
InternalServerErrorException.php
-
-
InvalidUsernameOrPasswordException.php
-
-
Image.php
-
-
ImageCollection.php
-
-
$password
-
The password that the user entered when they recieved the challenge.
-
$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
-
The account author.
-
$picasaAuthor
-
A Picasa_Author object for the author of the collection. Not all fields will be filled.
-
$picasaAuthor
-
A Picasa_Author object representing the album's author.
-
$PICASA_URL
-
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
-
The primary class for interactions with Picasa.
-
Picasa.php
-
-
Picasa_Account
-
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
-
Holds a Picasa album.
-
Picasa_Author
-
Holds a Picasa user.
-
Picasa_Cache
-
A simple chaching mechanism to reduce the number of calls made to the Picasa service.
-
Picasa_Comment
-
Represents a comment left for a Picasa photo.
-
Picasa_Exception
-
Defines an exception originating within the Picasa API. This is used as a skeleton that other Picasa Exceptions will extend and is typically thrown when an unknwon error occurs. If the error type is known, usually an extended version of this class will be thrown.
-
Picasa_Exception_BadRequestException
-
Represents an HTTP Error 400 Bad Request.
-
Picasa_Exception_CaptchaRequiredException
-
Indicates that Google issued a CAPTCHA challenge when the client was attempting to login a user.
-
Picasa_Exception_ConflictException
-
Represents an HTTP Error 409 Conflict.
-
Picasa_Exception_FailedAuthorizationException
-
Indicates that an attempt to authorize the user has failed for some reason.
-
Picasa_Exception_FileNotFoundException
-
This exception indicates that an HTTP Error 404 File Not Found error has occured when requesting a file on a remote server.
-
Picasa_Exception_InternalServerErrorException
-
This indicates that an HTTP Error 500 Internal Server Error has occured.
-
Picasa_Exception_InvalidUsernameOrPasswordException
-
Indicates that the user's attempt to login using Client Login failed because he entered the wrong username or password. There is no way in Picasa to determine if the username or the password is incorrect, just that one of them was.
-
Picasa_Exception_UnauthorizedException
-
Indicates that an Error 401 Unauthorized response was recieved from the host after a request.
-
Picasa_Image
-
Represents a single image in a Picasa account.
-
Picasa_ImageCollection
-
Represents a collection of images that are retrieved outside of an actual Album.
-
Picasa_Logger
-
A simple logging mechanism for displaying information while debugging a client application.
-
Picasa_Tag
-
Represents a Tag for Picasa photos.
-
Picasa_Thumbnail
-
Represents the simplest form of an image. Contains attributes not specific to Picasa but global to images of all types.
-
postAlbum
-
Post a new album to Picasa Web Albums.
-
postComment
-
Posts a comment to a photo on Picasa.
-
postImage
-
Posts an image to a Picasa Web Album.
-
postTag
-
Add a tag to an existing Picasa image. A tag is a single word that describes all or part of the photo.
-
__construct
-
Constructs an ImageCollection object from the Picasa XML feed.
-
__construct
-
-
__construct
-
Constructs an Image object.
-
__construct
-
-
__construct
-
Constructs an Account object.
-
__construct
-
-
__construct
-
Constructs a Logger object. Declared as private for Singleton pattern so there is only one instance.
-
__construct
-
-
__construct
-
Constructs a Thumbnail object.
-
__construct
-
Constructs a Picasa_Tag object from XML.
-
__construct
-
The constructor allows the instantiation of an unauthorized or authorized Picasa object.
-
__construct
-
Constructs a Picasa_Exception object.
-
__construct
-
-
__construct
-
-
__construct
-
-
__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 an Album object.
-
__construct
-
Constructs the exception.
-
__construct
-
Constructs a Cache object. Declared as private for Singleton pattern so there is only one instance.
-
__construct
-
Constructs a Picasa_Comment object from XML.
-
__toString
-
Constructs a textual representation of the current instantiation.
-
__toString
-
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 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 Picasa_Comment 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 instantiation.
-
__toString
-
Constructs a textual representation of the current instantiation.
-
__toString
-
Constructs a textual representation of everything in the current instantiation of the object.