private function getGoals() { $idSite = $this->getIdSite(); $goals = API::getInstance()->getGoals($idSite); return $goals; }