function pPie::arraySerialize

5.x pPie.class.php pPie::arraySerialize($Data)
4 calls to pPie::arraySerialize()
pPie::draw2DPie in inc/pchart/pchart/class/pPie.class.php
pPie::draw2DRing in inc/pchart/pchart/class/pPie.class.php
pPie::draw3DPie in inc/pchart/pchart/class/pPie.class.php
pPie::draw3DRing in inc/pchart/pchart/class/pPie.class.php

File

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