ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
BaseFormatter.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
PhpOffice\PhpSpreadsheet\Style\NumberFormat
;
4
5
abstract
class
BaseFormatter
6
{
7
protected
static
function
stripQuotes
(
string
$format
): string
8
{
9
// Some non-number strings are quoted, so we'll get rid of the quotes, likewise any positional * symbols
10
return
str_replace([
'"'
,
'*'
],
''
, $format);
11
}
12
}
$format
$format
Definition:
metadata.php:141
PhpOffice\PhpSpreadsheet\Style\NumberFormat\BaseFormatter
Definition:
BaseFormatter.php:5
PhpOffice\PhpSpreadsheet\Style\NumberFormat\BaseFormatter\stripQuotes
static stripQuotes(string $format)
Definition:
BaseFormatter.php:7
php
PhpOffice\PhpSpreadsheet\Style\NumberFormat
Definition:
BaseFormatter.php:3
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Style
NumberFormat
BaseFormatter.php
Generated on Thu Jan 30 2025 19:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)