示例#1
0
 function getPrimarySortKey($string)
 {
     MediaWiki\suppressWarnings();
     $key = $this->primaryCollator->getSortKey($string) . '';
     MediaWiki\restoreWarnings();
     return $key;
 }
示例#2
0
 function getPrimarySortKey($string)
 {
     wfSuppressWarnings();
     $key = $this->primaryCollator->getSortKey($string) . '';
     wfRestoreWarnings();
     return $key;
 }
示例#3
0
 public function getPrimarySortKey($string)
 {
     return $this->primaryCollator->getSortKey($string);
 }
示例#4
0
文件: getSortKey.php 项目: ezoic/hhvm
<?php

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