コード例 #1
0
 private function loadOwnerCounters()
 {
     wfProfileIn(__METHOD__);
     $userCountersService = new AchUserCountersService($this->mUserOwner->getID());
     $this->mOwnerCounters = $userCountersService->getCounters();
     wfProfileOut(__METHOD__);
 }
コード例 #2
0
ファイル: AchUser.class.php プロジェクト: Tjorriemorrie/app
 public function getCounters()
 {
     if (!isset($this->counters)) {
         $countersService = new AchUserCountersService($this->getId());
         $this->counters = $countersService->getCounters();
     }
     return $this->counters;
 }