Exemple #1
0
 /**
  * Recalc and update all scores for this site.
  * @return void
  */
 public function recalcSite()
 {
     require_once 'WC_RegAt.php';
     if (WECHALL_DEBUG_SCORING) {
         echo WC_HTML::message('msg_site_recalc', array($this->displayName()));
     }
     $this->recalcAverage();
     $this->recalcScore();
     WC_RegAt::calcSite($this);
     WC_RegAt::calcTotalscores();
 }