function pImage::removeVOIDFromArray
Search API
5.x pImage.class.php | pImage::removeVOIDFromArray($SerieName, $Values) |
2 calls to pImage::removeVOIDFromArray()
- pImage::replaceImageMapTitle in inc/
pchart/ pchart/ class/ pImage.class.php - pImage::replaceImageMapValues in inc/
pchart/ pchart/ class/ pImage.class.php
File
- inc/
pchart/ 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);
}