public static function Unicode::getStatus in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/Utility/Unicode.php \Drupal\Component\Utility\Unicode::getStatus()
Gets the current status of unicode/multibyte support on this environment.
Return value
int The status of multibyte support. It can be one of:
- \Drupal\Component\Utility\Unicode::STATUS_MULTIBYTE Full unicode support using an extension.
- \Drupal\Component\Utility\Unicode::STATUS_SINGLEBYTE Standard PHP (emulated) unicode support.
- \Drupal\Component\Utility\Unicode::STATUS_ERROR An error occurred. No unicode support.
7 calls to Unicode::getStatus()
- Unicode::strlen in core/
lib/ Drupal/ Component/ Utility/ Unicode.php - Counts the number of characters in a UTF-8 string.
- Unicode::strpos in core/
lib/ Drupal/ Component/ Utility/ Unicode.php - Finds the position of the first occurrence of a string in another string.
- Unicode::strtolower in core/
lib/ Drupal/ Component/ Utility/ Unicode.php - Converts a UTF-8 string to lowercase.
- Unicode::strtoupper in core/
lib/ Drupal/ Component/ Utility/ Unicode.php - Converts a UTF-8 string to uppercase.
- Unicode::substr in core/
lib/ Drupal/ Component/ Utility/ Unicode.php - Cuts off a piece of a string based on character indices and counts.
File
- core/
lib/ Drupal/ Component/ Utility/ Unicode.php, line 114 - Contains \Drupal\Component\Utility\Unicode.
Class
- Unicode
- Provides Unicode-related conversions and operations.
Namespace
Drupal\Component\UtilityCode
public static function getStatus() {
return static::$status;
}