You are here

function pData::stripVOID in Visitors 7

Same name and namespace in other branches
  1. 7.2 pChart/class/pData.class.php \pData::stripVOID()
8 calls to pData::stripVOID()
pData::addPoints in pChart/class/pData.class.php
pData::getGeometricMean in pChart/class/pData.class.php
pData::getHarmonicMean in pChart/class/pData.class.php
pData::getSerieAverage in pChart/class/pData.class.php
pData::getSerieMedian in pChart/class/pData.class.php

... See full list

File

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

Class

pData

Code

function stripVOID($Values) {
  if (!is_array($Values)) {
    return array();
  }
  $Result = array();
  foreach ($Values as $Key => $Value) {
    if ($Value != VOID) {
      $Result[] = $Value;
    }
  }
  return $Result;
}