Source for file Session.php
Documentation is available at Session.php
/** Stores information of a last.fm session.
* @package php-lastfm-api
* @author Felix Bruns <felixbruns@web.de>
/** The session username.
/** Indicates if this user is a subscriber.
/** Create a Session object.
* @param string $name Session username.
* @param string $key Session key.
* @param boolean $subscriber User is subscriber.
$this->subscriber =
$subscriber;
/** Returns the session username.
* @return string A last.fm username.
/** Returns the session key.
* @return string A session key.
/** Returns if the user is a subscriber.
* @return boolean true if the user is a subscriber, otherwise false.
return $this->subscriber;
/** Create a Session object from a SimpleXMLElement.
* @param SimpleXMLElement $xml A SimpleXMLElement.
* @return Session A Session object.
Documentation generated on Mon, 22 Dec 2008 16:57:42 +0100 by phpDocumentor 1.4.1