예제 #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'), ""));