32 private $contentLanguage;
38 $this->contentLanguage = $contentLanguage;
48 if ( $string[0] ==
"\0" ) {
49 $string = substr( $string, 1 );
51 return $this->contentLanguage->firstChar( $string );
Collation class that's essentially a no-op.
getFirstLetter( $string)
Given a string, return the logical "first letter" to be used for grouping on category pages and so on...
getSortKey( $string)
Given a string, convert it to a (hopefully short) key that can be used for efficient sorting.
__construct(Language $contentLanguage)
Base class for language-specific code.