You are here

public function OSMPlayer::setId in MediaFront 7

Same name and namespace in other branches
  1. 6.2 players/osmplayer/player/OSMPlayer.php \OSMPlayer::setId()
  2. 6 players/osmplayer/player/OSMPlayer.php \OSMPlayer::setId()

Set the id for this media player.

File

players/osmplayer/player/OSMPlayer.php, line 286

Class

OSMPlayer
PHP wrapper class for the Open Standard Media (OSM) player.

Code

public function setId($newId) {

  // Set the id of this player.
  $this->settings['id'] = $newId;
}