SSLTrack::getFullTitle PHP Méthode

getFullTitle() public méthode

public getFullTitle ( )
    public function getFullTitle()
    {
        return $this->getArtist() . ' - ' . $this->getTitle();
    }

Usage Example

 public function elapse($seconds)
 {
     $this->playtime += $seconds;
     $was_passed_now_playing_point = $this->passed_now_playing_point;
     $was_passed_scrobble_point = $this->passed_scrobble_point;
     $was_ended = $this->passed_end;
     $this->passed_now_playing_point = $this->playtime >= self::NOW_PLAYING_MIN;
     $this->passed_scrobble_point = $this->playtime >= $this->scrobble_point;
     $this->passed_end = $this->playtime >= $this->end_point;
     if ($this->passed_now_playing_point && !$was_passed_now_playing_point) {
         L::level(L::INFO) && L::log(L::INFO, __CLASS__, '%s passed now playing point', array($this->track->getFullTitle()));
     }
     if ($this->passed_scrobble_point && !$was_passed_scrobble_point) {
         L::level(L::INFO) && L::log(L::INFO, __CLASS__, '%s passed scrobble point', array($this->track->getFullTitle()));
     }
     if ($this->passed_end && !$was_ended) {
         L::level(L::INFO) && L::log(L::INFO, __CLASS__, '%s passed end point', array($this->track->getFullTitle()));
     }
 }
All Usage Examples Of SSLTrack::getFullTitle