You are here

function pPie::arraySerialize in Visitors 7.2

Same name and namespace in other branches
  1. 7 pChart/class/pPie.class.php \pPie::arraySerialize()
4 calls to pPie::arraySerialize()
pPie::draw2DPie in pChart/class/pPie.class.php
pPie::draw2DRing in pChart/class/pPie.class.php
pPie::draw3DPie in pChart/class/pPie.class.php
pPie::draw3DRing in pChart/class/pPie.class.php

File

pChart/class/pPie.class.php, line 1455

Class

pPie

Code

function arraySerialize($Data) {
  $Result = "";
  foreach ($Data as $Key => $Value) {
    if ($Result == "") {
      $Result = floor($Value);
    }
    else {
      $Result = $Result . "," . floor($Value);
    }
  }
  return $Result;
}