Ampache
[ class tree: Ampache ] [ index: Ampache ] [ all elements ]

Class: xmlData

Source Location: /lib/class/xmldata.class.php

Class Overview


xmlData


Methods



Class Details

[line 28]
xmlData

This class takes care of all of the xml document stuff in Ampache these are all static calls




[ Top ]


Class Methods


static method albums [line 174]

static void albums( $albums)

albums

This echos out a standard albums XML document, it pays attention to the limit




Tags:

access:  public


Parameters:

   $albums  

[ Top ]

static method artists [line 139]

static void artists( $artists)

artists

This takes an array of artists and then returns a pretty xml document with the information we want




Tags:

access:  public


Parameters:

   $artists  

[ Top ]

static method error [line 86]

static void error( $code, $string)

error This generates a standard XML Error message nothing fancy here...



Tags:

access:  public


Parameters:

   $code  
   $string  

[ Top ]

static method keyed_array [line 109]

static void keyed_array( $array, [ $callback = ''])

keyed_array

This will build an xml document from a key'd array,




Tags:

access:  public


Parameters:

   $array  
   $callback  

[ Top ]

static method playlists [line 221]

static void playlists( $playlists)

playlists

This takes an array of playlist ids and then returns a nice pretty XML document




Tags:

access:  public


Parameters:

   $playlists  

[ Top ]

static method rss_feed [line 300]

static void rss_feed( $data, $title, $description, $date)

rss_feed



Tags:

access:  public


Parameters:

   $data  
   $title  
   $description  
   $date  

[ Top ]

static method set_limit [line 60]

static void set_limit( $limit)

set_limit

This sets the limit for any ampache transactions




Tags:

access:  public


Parameters:

   $limit  

[ Top ]

static method set_offset [line 49]

static void set_offset( $offset)

set_offset

This takes an int and changes the offset




Tags:

access:  public


Parameters:

   $offset  

[ Top ]

static method set_type [line 73]

static void set_type( $type)

set_type

This sets the type of xmlData we are working on




Tags:

access:  public


Parameters:

   $type  

[ Top ]

static method single_string [line 97]

static void single_string( $key, $string)

single_string

This takes two values, first the key second the string




Tags:

access:  public


Parameters:

   $key  
   $string  

[ Top ]

static method songs [line 257]

static void songs( $songs)

songs

This returns an xml document from an array of song ids spiffy isn't it!




Tags:

access:  public


Parameters:

   $songs  

[ Top ]


Documentation generated on Thu, 12 Feb 2009 08:00:12 +0900 by phpDocumentor 1.4.2