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

Class: Api

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

Class Overview


API Class


Variables

Methods



Class Details

[line 27]
API Class

This handles functions relating to the API written for ampache, initially this is very focused on providing functionality for Amarok so it can integrate with Ampache




[ Top ]


Class Variables

static $version =  '350001'

[line 29]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


static method handshake [line 48]

static void handshake( $timestamp, $passphrase, $ip, [ $username = ''], $version)

handshake

This is the function that handles the verifying a new handshake this takes a timestamp, auth key, and client IP. Optionally it can take a username, if non is passed the ACL must be non-use specific




Tags:

access:  public


Parameters:

   $timestamp  
   $passphrase  
   $ip  
   $username  
   $version  

[ Top ]


Documentation generated on Thu, 12 Feb 2009 07:59:49 +0900 by phpDocumentor 1.4.2