Example #1
0
 public function mainAction()
 {
     echo "\n Statrt processes badges for users \n";
     $badge = new BadgesManager();
     $badge->process();
     echo "\n Adding successfully \n";
 }
 public function badgesAction()
 {
     $manager = new BadgeManager();
     $this->view->object = $manager->getBadges();
     $this->tag->setTitle(t('Badges'));
 }