diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-05 07:13:25 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-05 07:13:25 +0000 |
commit | 83c7a25a76efaf74467c6654f20be3a8029040d9 (patch) | |
tree | aa90f459c74d7d1ec8ba38fa4077873ed4f65dd8 /modules/infotools/lastfm.class.php | |
parent | edf482ff3d21c84d99f25b84884563a8781fa7ae (diff) | |
download | ampache-83c7a25a76efaf74467c6654f20be3a8029040d9.tar.gz ampache-83c7a25a76efaf74467c6654f20be3a8029040d9.tar.bz2 ampache-83c7a25a76efaf74467c6654f20be3a8029040d9.zip |
missed some requires, tweaked the lastfm class and removed an unused function from general
Diffstat (limited to 'modules/infotools/lastfm.class.php')
-rw-r--r-- | modules/infotools/lastfm.class.php | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/modules/infotools/lastfm.class.php b/modules/infotools/lastfm.class.php index bdcf553a..4cc96ec9 100644 --- a/modules/infotools/lastfm.class.php +++ b/modules/infotools/lastfm.class.php @@ -29,17 +29,18 @@ class LastFMSearch { private $_subTag; // Stupid hack to make things come our right
private $_currentTag; // Stupid hack to make things come out right
- function LastFMSearch() {
+ public function __construct() {
// Rien a faire
} // LastFMSearch
- /*!
- @create_parser
- @discussion this sets up an XML Parser
- */
- function create_parser() {
+ /**
+ * create_parser
+ * this sets up an XML Parser that we can use to parse the XML
+ * document we recieve
+ */
+ public function create_parser() {
$this->_parser = xml_parser_create();
xml_parser_set_option($this->_parser, XML_OPTION_CASE_FOLDING, false);
@@ -52,11 +53,11 @@ class LastFMSearch { } // create_parser
- /*!
- @function search
- @discussion do a full search on the url they pass
- */
- function run_search($url) {
+ /**
+ * search
+ * do a full search on the url they pass
+ */
+ public function run_search($url) {
/* Create the Parser */
$this->create_parser();
|