public function getTrackTitle($trackId)
    {
        $tracks = $this->getAllTracks();

        if ($tracks && isset($tracks[$trackId])) {
            return $tracks[$trackId];
        }
    }
public function getTrackTitle($trackId)
    {
        $tracks = $this->getAllTracks();

        if ($tracks && isset($tracks[$trackId])) {
            return $tracks[$trackId];
        }
    }
public function getTrackTitle ( $ trackId ) { $ tracks = $ this -> getAllTracks ( ) ; if ( $ tracks && isset ( $ tracks [ $ trackId ] ) ) { return $ tracks [ $ trackId ] ; } }
Returns title of the track.

@param int $trackId
@return string
Returns title of the track .