Exemple #1
0
 function getPrimarySortKey($string)
 {
     MediaWiki\suppressWarnings();
     $key = $this->primaryCollator->getSortKey($string) . '';
     MediaWiki\restoreWarnings();
     return $key;
 }
Exemple #2
0
 function getPrimarySortKey($string)
 {
     wfSuppressWarnings();
     $key = $this->primaryCollator->getSortKey($string) . '';
     wfRestoreWarnings();
     return $key;
 }
 public function getPrimarySortKey($string)
 {
     return $this->primaryCollator->getSortKey($string);
 }
Exemple #4
0
<?php

$coll = new Collator('root');
var_dump(substr_count($coll->getSortKey('Hello'), ""));