function pData::getSum

5.x pData.class.php pData::getSum($Serie)

File

inc/pchart/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);
  }
}