public function csl_number::long_ordinal in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/CiteProc/CSL.inc \csl_number::long_ordinal()
- 7.2 modules/CiteProc/CSL.inc \csl_number::long_ordinal()
1 call to csl_number::long_ordinal()
- csl_number::render in modules/
CiteProc/ CSL.inc
File
- modules/
CiteProc/ CSL.inc, line 1395 - CiteProc-PHP.
Class
Code
public function long_ordinal($num) {
$num = sprintf("%02d", $num);
$ret = $this->citeproc
->get_locale('term', 'long-ordinal-' . $num);
if (!$ret) {
return $this
->ordinal($num);
}
return $ret;
}