You are here

public function OSMTemplate::getVersion in MediaFront 6.2

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

Get's the player version number.

File

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

Class

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

Code

public function getVersion() {
  $this->version = $this->version ? $this->version : file_get_contents(dirname(__FILE__) . '/version.txt');
  return $this->version;
}