You are here

public static function PHPExcel_Calculation_TextData::UPPERCASE in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/TextData.php \PHPExcel_Calculation_TextData::UPPERCASE()

* UPPERCASE * * Converts a string value to upper case. * *

Parameters

string $mixedCaseString: * @return string

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/TextData.php, line 456

Class

PHPExcel_Calculation_TextData
PHPExcel_Calculation_TextData

Code

public static function UPPERCASE($mixedCaseString) {
  $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString);
  if (is_bool($mixedCaseString)) {
    $mixedCaseString = $mixedCaseString ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE();
  }
  return PHPExcel_Shared_String::StrToUpper($mixedCaseString);
}