You are here

function pData::getSum in Visitors 7.2

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

File

pChart/class/pData.class.php, line 139

Class

pData

Code

function getSum($Serie) {
  if (isset($this->Data["Series"][$Serie])) {
    return array_sum($this->Data["Series"][$Serie]["Data"]);
  }
  else {
    return NULL;
  }
}