function pImage::removeVOIDFromArray in Visitors 7.2
Same name and namespace in other branches
- 7 pChart/class/pImage.class.php \pImage::removeVOIDFromArray()
2 calls to pImage::removeVOIDFromArray()
- pImage::replaceImageMapTitle in pChart/
class/ pImage.class.php - pImage::replaceImageMapValues in pChart/
class/ pImage.class.php
File
- pChart/
class/ pImage.class.php, line 319
Class
Code
function removeVOIDFromArray($SerieName, $Values) {
if (!isset($this->DataSet->Data["Series"][$SerieName])) {
return -1;
}
$Result = "";
foreach ($this->DataSet->Data["Series"][$SerieName]["Data"] as $Key => $Value) {
if ($Value != VOID && isset($Values[$Key])) {
$Result[] = $Values[$Key];
}
}
return $Result;
}