Lines Matching refs:t
538 $t = $ret["translated_title"];
540 $t = $ret["title"];
542 $t = $ret["book_title"];
546 $t = $this->_normalizeTitleCase($t);
548 $ret["npg_full"] .= $t.". ";
600 $t = "";
602 $t = $ret["translated_title"];
604 $t = $ret["title"];
606 $t = $ret["book_title"];
610 $t = $this->_normalizeTitleCase($t);
612 if (substr_compare(".", $t, -strlen($t)) === 0) {
613 mb_substr($t, 0, -1);
616 $ret["npg_full"] .= $t." ";
637 $t = $ret["translated_title"];
639 $t = $ret["title"];
641 $t = $ret["book_title"];
643 $ret["gpnv_full"] .= $t.". ";
692 $t = "";
694 $t = $ret["translated_title"];
696 $t = $ret["title"];
698 $t = $ret["book_title"];
700 if (substr_compare(".", $t, -strlen($t)) === 0) {
701 mb_substr($t, 0, -1);
703 $ret["gpnv_full_title"] = $t." ";
712 function _normalizeTitleCase($t) { argument
714 $low_t = ucfirst(strtolower(ucwords($t)));
715 if (mb_strtoupper($t, 'utf-8') !== $t) {
716 $words = preg_split('/[\s\-\[\]\(\)\/\'\’\"\“\”\.]+/', $t);
810 $sentences = ucfirst(strtolower(ucwords($t)));
825 $sentences = ucfirst(strtolower(ucwords($t)));
829 $t = $low_t;
831 return $t;