public function append_nonsortable_field_name($field_name) { $th = new HTMLTags_TH(); $f_n_l_o_ws = Formatting_ListOfWords::get_list_of_words_for_string($field_name, '_'); $th->append_str_to_content($f_n_l_o_ws->get_words_as_capitalised_string()); $this->append_tag_to_content($th); }
public function append_nonsortable_field_name($field_name, $title = NULL) { $th = new HTMLTags_TH(); if (!isset($title)) { $f_n_l_o_ws = Formatting_ListOfWordsHelper::get_list_of_words_for_string($field_name, '_'); $title = $f_n_l_o_ws->get_words_as_capitalised_string(); } $th->append_str_to_content($title); $this->append_tag_to_content($th); }