function pImage::reversePlots

5.x pImage.class.php pImage::reversePlots($Plots)

File

inc/pchart/pchart/class/pImage.class.php, line 446

Class

pImage

Code

function reversePlots($Plots) 
 {
  $Result = "";
  for ($i = count($Plots) -2; $i >= 0; $i = $i -2) {
    $Result [] = $Plots [$i];
    $Result [] = $Plots [$i + 1];
  }
  return ($Result);
}