You are here

function pPie::arrayReverse in Visitors 7

Same name and namespace in other branches
  1. 7.2 pChart/class/pPie.class.php \pPie::arrayReverse()
1 call to pPie::arrayReverse()
pPie::draw3DRing in pChart/class/pPie.class.php

File

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

Class

pPie

Code

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