Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JGoogleDataPicasaPhoto
+ Graphe d'héritage de JGoogleDataPicasaPhoto:

Fonctions membres publiques

 __construct (SimpleXMLElement $xml, Registry $options=null, JGoogleAuth $auth=null)
 
 delete ($match=' *')
 
 getLink ($type='edit')
 
 getUrl ()
 
 getThumbnails ()
 
 getTitle ()
 
 getSummary ()
 
 getAccess ()
 
 getTime ()
 
 getSize ()
 
 getHeight ()
 
 getWidth ()
 
 setTitle ($title)
 
 setSummary ($summary)
 
 setAccess ($access)
 
 setTime ($time)
 
 save ($match=' *')
 
 refresh ()
 
- Fonctions membres publiques hérités de JGoogleData
 __construct (Registry $options=null, JGoogleAuth $auth=null)
 
 authenticate ()
 
 isAuthenticated ()
 
 getOption ($key)
 
 setOption ($key, $value)
 

Attributs protégés

 $xml
 
- Attributs protégés hérités de JGoogleData
 $options
 
 $auth
 

Membres hérités additionnels

- Fonctions membres protégées hérités de JGoogleData
 listGetData ($url, $maxpages=1, $token=null)
 
 query ($url, $data=null, $headers=null, $method='get')
 
- Fonctions membres protégées statiques hérités de JGoogleData
static safeXml ($data)
 

Description détaillée

Google Picasa data class for the Joomla Platform.

Depuis
3.1.4
Obsolète:
4.0 Use the joomla/google package via Composer instead

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( SimpleXMLElement  $xml,
Registry  $options = null,
JGoogleAuth  $auth = null 
)

Constructor.

Paramètres
SimpleXMLElement$xmlXML from Google
Registry$optionsGoogle options object
JGoogleAuth$authGoogle data http client object
Depuis
3.1.4

Références $options.

Documentation des fonctions membres

◆ delete()

delete (   $match = '*')

Method to delete a Picasa photo

Paramètres
mixed$matchCheck for most up to date photo
Renvoie
boolean Success or failure.
Depuis
3.1.4
Exceptions
Exception
RuntimeException
UnexpectedValueException

Références $url, et null.

◆ getAccess()

getAccess ( )

Method to get the access level of the photo

Renvoie
string Photo access level
Depuis
3.1.4

◆ getHeight()

getHeight ( )

Method to get the height of the photo

Renvoie
int Photo height
Depuis
3.1.4

◆ getLink()

getLink (   $type = 'edit')

Method to get the photo link

Paramètres
string$typeType of link to return
Renvoie
string Link or false on failure
Depuis
3.1.4

Références $link, et $type.

◆ getSize()

getSize ( )

Method to get the size of the photo

Renvoie
int Photo size
Depuis
3.1.4

◆ getSummary()

getSummary ( )

Method to get the summary of the photo

Renvoie
string Photo description
Depuis
3.1.4

◆ getThumbnails()

getThumbnails ( )

Method to get the photo's thumbnails

Renvoie
array An array of thumbnails
Depuis
3.1.4

Références $height, $item, $url, et $width.

◆ getTime()

getTime ( )

Method to get the time of the photo

Renvoie
double Photo time
Depuis
3.1.4

◆ getTitle()

getTitle ( )

Method to get the title of the photo

Renvoie
string Photo title
Depuis
3.1.4

◆ getUrl()

getUrl ( )

Method to get the photo's URL

Renvoie
string Link
Depuis
3.1.4

◆ getWidth()

getWidth ( )

Method to get the width of the photo

Renvoie
int Photo width
Depuis
3.1.4

◆ refresh()

refresh ( )

Refresh photo data

Renvoie
mixed Data from Google
Depuis
3.1.4

Références $url, et null.

◆ save()

save (   $match = '*')

Method to modify a Picasa Photo

Paramètres
string$matchOptional eTag matching parameter
Renvoie
mixed Data from Google.
Depuis
3.1.4

Références $url.

◆ setAccess()

setAccess (   $access)

Method to set the access level of the photo

Paramètres
string$accessNew photo access level
Renvoie
JGoogleDataPicasaPhoto The object for method chaining
Depuis
3.1.4

◆ setSummary()

setSummary (   $summary)

Method to set the summary of the photo

Paramètres
string$summaryNew photo description
Renvoie
JGoogleDataPicasaPhoto The object for method chaining
Depuis
3.1.4

◆ setTime()

setTime (   $time)

Method to set the time of the photo

Paramètres
int$timeNew photo time
Renvoie
JGoogleDataPicasaPhoto The object for method chaining
Depuis
3.1.4

◆ setTitle()

setTitle (   $title)

Method to set the title of the photo

Paramètres
string$titleNew photo title
Renvoie
JGoogleDataPicasaPhoto The object for method chaining
Depuis
3.1.4

Références $title.

Documentation des champs

◆ $xml

$xml
protected

La documentation de cette classe a été générée à partir du fichier suivant :