You are here

public static function PHPExcel_Shared_String::getIsMbstringEnabled in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php \PHPExcel_Shared_String::getIsMbstringEnabled()

* Get whether mbstring extension is available * *

Return value

boolean

7 calls to PHPExcel_Shared_String::getIsMbstringEnabled()
PHPExcel_Shared_String::ConvertEncoding in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php
* Convert string from one encoding to another. First try mbstring, then iconv, finally strlen * *
PHPExcel_Shared_String::CountCharacters in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php
* Get character count. First try mbstring, then iconv, finally strlen * *
PHPExcel_Shared_String::SanitizeUTF8 in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php
* Try to sanitize UTF8, stripping invalid byte sequences. Not perfect. Does not surrogate characters. * *
PHPExcel_Shared_String::StrCaseReverse in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php
* Reverse the case of a string, so that all uppercase characters become lowercase and all lowercase characters become uppercase * *
PHPExcel_Shared_String::Substring in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php
* Get a substring of a UTF-8 encoded string. First try mbstring, then iconv, finally strlen * *

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/String.php, line 276

Class

PHPExcel_Shared_String
PHPExcel_Shared_String

Code

public static function getIsMbstringEnabled() {
  if (isset(self::$_isMbstringEnabled)) {
    return self::$_isMbstringEnabled;
  }
  self::$_isMbstringEnabled = function_exists('mb_convert_encoding') ? true : false;
  return self::$_isMbstringEnabled;
}