controllers/StatsController.php
/**
     * Create bean to be assigned for views
     *
     * @param array $filteredStats
     */
Create bean to be assigned for views
@param array $filteredStats
Create bean to be assigned for views @param array $filteredStats
private function createBean($filteredStats) {
        $bean = array(
            'localTotal'     => self::TOTAL,
            'grandTotal'     => $this->grandTotal,
            'filteredStats'  => $filteredStats,
            'translationMap' => $this->translationMap,
            'codeFrequencyJson' => $this->getCodeFrequencyJson(),
            'codeAccuracyJson' => $this->getCodeAccuracyJson(),
            'categoryProgressJson' => $this->getCategoryProgressJson($filteredStats),
            'categoryContribJson' => $this->getCategoryContribJson()
        );
        $this->setBean($bean);
    }
private function createBean ( $ filteredStats ) { $ bean = array ( 'localTotal' => self :: TOTAL , 'grandTotal' => $ this -> grandTotal , 'filteredStats' => $ filteredStats , 'translationMap' => $ this -> translationMap , 'codeFrequencyJson' => $ this -> getCodeFrequencyJson ( ) , 'codeAccuracyJson' => $ this -> getCodeAccuracyJson ( ) , 'categoryProgressJson' => $ this -> getCategoryProgressJson ( $ filteredStats ) , 'categoryContribJson' => $ this -> getCategoryContribJson ( ) ) ; $ this -> setBean ( $ bean ) ; }
Create bean to be assigned for views
 @param array $filteredStats
Create bean to be assigned for views @param array $filteredStats