public function index() { RoutingEngine::setPage("runnDAILY Goals", "PV__300"); $goals = Goal::getGoalsForUser(User::$current_user->uid); RoutingEngine::getSmarty()->assign("goal_list", $goals); }