You are here

function pSpring::setLinkDefaults in Visitors 7.2

Same name and namespace in other branches
  1. 7 pChart/class/pSpring.class.php \pSpring::setLinkDefaults()

File

pChart/class/pSpring.class.php, line 86

Class

pSpring

Code

function setLinkDefaults($Settings = "") {
  if (isset($Settings["R"])) {
    $this->Default["LinkR"] = $Settings["R"];
  }
  if (isset($Settings["G"])) {
    $this->Default["LinkG"] = $Settings["G"];
  }
  if (isset($Settings["B"])) {
    $this->Default["LinkB"] = $Settings["B"];
  }
  if (isset($Settings["Alpha"])) {
    $this->Default["LinkAlpha"] = $Settings["Alpha"];
  }
}