function getTitle() { return $this->title; } The function
function getTitle() { return $this->title; } The function getAuthor() returns the value of member variable author: function getAuthor() { return $this->author; } } ?> The Music_Item Class The script MusicItem.php contains the class definition of Music_Item class: Item($itemNo, $itemType, $price); Set the value of member variables $title and $artist: $this->title = $title; $this->artist = $artist; } The function getTitle() returns the value of member variable title: function getTitle() { return $this->title; } Page 563
Note: If you are looking for inexpensive but high quality provider to host and run your serlvet application check Astra servlet hosting services