public function getSkillsData() { $profile = new ProfileController(); return json_encode(array("results" => $profile->getSkills())); }