phpDocumentor Picasa
Picasa2DataParser
[ class tree: Picasa ] [ index: Picasa ] [ all elements ]

Class: Picasa2DataParser

Source Location: /modules/picasa/classes/Picasa2DataParser.class

Class Picasa2DataParser

Class Overview

This class provides an API for parsing Picasa 2 data files

Located in /modules/picasa/classes/Picasa2DataParser.class [line 35]



		
		
		
		

Methods

[ Top ]
Method Summary
array   getAlbum()   Get the nested album and picture array from the Picasa export path.
array   getAlbumFromArray()   Get the nested album and picture array from the Picasa export path.
array   getRawXmlFromPicasaPath()   Get the raw XML data from a given Picasa export Path.
array   getXmlArray()   getXmlArray - an abstraction layer on xml_parse_into_struct that returns a nice nested array. based on dudus at onet dot pl's: http://www.php.net/manual/en/function.xml-parse-into-struct.php#49154
boolean   isValidPicasaXmlPath()   Check whether the given directory contains an index.xml file (to be extended later)

[ Top ]
Methods
getAlbum  [line 232]

  array getAlbum( string $picasaXmlPath  )

Get the nested album and picture array from the Picasa export path.

Parameters:
string   $picasaXmlPath:  the picasa export path

API Tags:
Return:  a status code and an album/image array


[ Top ]
getAlbumFromArray  [line 190]

  array getAlbumFromArray( string $picasaXmlArray  )

Get the nested album and picture array from the Picasa export path.

Parameters:
string   $picasaXmlArray:  the picasa export path

API Tags:
Return:  a status code and an album/image array


[ Top ]
getRawXmlFromPicasaPath  [line 60]

  array getRawXmlFromPicasaPath( string $picasaXmlPath  )

Get the raw XML data from a given Picasa export Path.

Parameters:
string   $picasaXmlPath:  the picasa export path

API Tags:
Return:  a status code and an album/image array


[ Top ]
getXmlArray  [line 88]

  array getXmlArray( string $rawXml  )

getXmlArray - an abstraction layer on xml_parse_into_struct that returns a nice nested array. based on dudus at onet dot pl's: http://www.php.net/manual/en/function.xml-parse-into-struct.php#49154

Parameters:
string   $rawXml:  - xml which will be fed into xml_parse_into_struct()

API Tags:
Return:  GalleryStatus a status code array a nested php array containing xml data.


[ Top ]
isValidPicasaXmlPath  [line 44]

  boolean isValidPicasaXmlPath( string $path  )

Check whether the given directory contains an index.xml file (to be extended later)

Parameters:
string   $path:  the picasa export path

API Tags:
Return:  true if the picasa path is valid, false otherwise


[ Top ]

Documentation generated on Fri, 08 Oct 2010 05:45:50 -0700 by phpDocumentor 1.3.0RC6