예제 #1
0
 public static function count_r($mixed)
 {
     $totalCount = 0;
     foreach ($mixed as $temp) {
         if (is_array($temp)) {
             $totalCount += gchartutil::count_r($temp);
         } else {
             $totalCount += 1;
         }
     }
     return $totalCount;
 }
예제 #2
0
파일: bar.php 프로젝트: enormego/EightPHP
 private function setBarCount()
 {
     $this->totalBars = gchartutil::count_r($this->values);
 }