You are here

public function OSMTemplate::__construct in MediaFront 7

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

Constructor for the OSMTempalate class.

File

players/osmplayer/player/OSMTemplate.php, line 103

Class

OSMTemplate
Copyright (c) 2010 Alethia Inc, http://www.alethia-inc.com Developed by Travis Tidwell | travist at alethia-inc.com

Code

public function __construct($playerSettings) {

  // Set the player settings, which can be used in this template.
  $this->playerSettings = $playerSettings;

  // Get the settings for our template
  $this->settings = $this
    ->getSettings();
}