public function humanize($word) { $result = ucwords(strtolower(str_replace("_", " ", $word))); return $result; }