getNextPosition() protected method

Calculate the position number to be used to add a track to the end of the queue.
protected getNextPosition ( ) : integer
return integer
Beispiel #1
0
 /**
  * Calculate the position number to be used to add a track to the end of the playlist.
  *
  * @return int
  */
 protected function getNextPosition()
 {
     return parent::getNextPosition() - 1;
 }