ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | CHARACTER ($character) |
CHARACTER. More... | |
static | TRIMNONPRINTABLE ($stringValue='') |
TRIMNONPRINTABLE. More... | |
static | TRIMSPACES ($stringValue='') |
TRIMSPACES. More... | |
static | ASCIICODE ($characters) |
ASCIICODE. More... | |
static | CONCATENATE (... $args) |
CONCATENATE. More... | |
static | DOLLAR ($value=0, $decimals=2) |
DOLLAR. More... | |
static | SEARCHSENSITIVE ($needle, $haystack, $offset=1) |
SEARCHSENSITIVE. More... | |
static | SEARCHINSENSITIVE ($needle, $haystack, $offset=1) |
SEARCHINSENSITIVE. More... | |
static | FIXEDFORMAT ($value, $decimals=2, $no_commas=false) |
FIXEDFORMAT. More... | |
static | LEFT ($value='', $chars=1) |
LEFT. More... | |
static | MID ($value='', $start=1, $chars=null) |
MID. More... | |
static | RIGHT ($value='', $chars=1) |
RIGHT. More... | |
static | STRINGLENGTH ($value='') |
STRINGLENGTH. More... | |
static | LOWERCASE ($mixedCaseString) |
LOWERCASE. More... | |
static | UPPERCASE ($mixedCaseString) |
UPPERCASE. More... | |
static | PROPERCASE ($mixedCaseString) |
PROPERCASE. More... | |
static | REPLACE ($oldText, $start, $chars, $newText) |
REPLACE. More... | |
static | SUBSTITUTE ($text='', $fromText='', $toText='', $instance=0) |
SUBSTITUTE. More... | |
static | RETURNSTRING ($testValue='') |
RETURNSTRING. More... | |
static | TEXTFORMAT ($value, $format) |
TEXTFORMAT. More... | |
static | VALUE ($value='') |
VALUE. More... | |
static | NUMBERVALUE ($value='', $decimalSeparator=null, $groupSeparator=null) |
NUMBERVALUE. More... | |
static | EXACT ($value1, $value2) |
Compares two text strings and returns TRUE if they are exactly the same, FALSE otherwise. More... | |
static | TEXTJOIN ($delimiter, $ignoreEmpty,... $args) |
TEXTJOIN. More... | |
static | builtinREPT ($str, $number) |
REPT. More... | |
Definition at line 10 of file TextData.php.
|
static |
ASCIICODE.
1.18.0
string | $characters | Value |
Definition at line 71 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\CharacterConvert\code().
|
static |
REPT.
Returns the result of builtin function repeat after validating args.
1.18.0
string | $str | Should be numeric |
mixed | $number | Should be int |
Definition at line 444 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Concatenate\builtinREPT().
|
static |
CHARACTER.
1.18.0
string | $character | Value |
Definition at line 23 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\CharacterConvert\character().
|
static |
CONCATENATE.
1.18.0
Definition at line 85 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Concatenate\CONCATENATE().
|
static |
DOLLAR.
This function converts a number to text using currency format, with the decimals rounded to the specified place. The format used is $#,##0.00_);($#,##0.00)..
1.18.0
float | $value | The value to format |
int | $decimals | The number of digits to display to the right of the decimal point. If decimals is negative, number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2 |
Definition at line 107 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Format\DOLLAR().
|
static |
Compares two text strings and returns TRUE if they are exactly the same, FALSE otherwise.
EXACT is case-sensitive but ignores formatting differences. Use EXACT to test text being entered into a document.
1.18.0
mixed | $value1 | |
mixed | $value2 |
Definition at line 407 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Text\exact().
|
static |
FIXEDFORMAT.
1.18.0
mixed | $value | Value to check |
int | $decimals | |
bool | $no_commas |
Definition at line 161 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Format\FIXEDFORMAT().
|
static |
LEFT.
1.18.0
string | $value | Value |
int | $chars | Number of characters |
Definition at line 178 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract\left().
|
static |
LOWERCASE.
Converts a string value to upper case.
1.18.0
string | $mixedCaseString |
Definition at line 247 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\CaseConvert\lower().
|
static |
MID.
1.18.0
string | $value | Value |
int | $start | Start character |
int | $chars | Number of characters |
Definition at line 196 of file TextData.php.
References $start, and PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract\mid().
|
static |
NUMBERVALUE.
1.18.0
mixed | $value | Value to check |
string | $decimalSeparator | decimal separator, defaults to locale defined value |
string | $groupSeparator | group/thosands separator, defaults to locale defined value |
Definition at line 388 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Format\NUMBERVALUE().
|
static |
PROPERCASE.
Converts a string value to upper case.
1.18.0
string | $mixedCaseString |
Definition at line 283 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\CaseConvert\proper().
|
static |
REPLACE.
1.18.0
string | $oldText | String to modify |
int | $start | Start character |
int | $chars | Number of characters |
string | $newText | String to replace in defined position |
Definition at line 302 of file TextData.php.
References $start, and PhpOffice\PhpSpreadsheet\Calculation\TextData\Replace\replace().
|
static |
RETURNSTRING.
1.18.0
mixed | $testValue | Value to check |
Definition at line 337 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Text\test().
|
static |
RIGHT.
1.18.0
string | $value | Value |
int | $chars | Number of characters |
Definition at line 213 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Extract\right().
|
static |
SEARCHINSENSITIVE.
1.18.0
string | $needle | The string to look for |
string | $haystack | The string in which to look |
int | $offset | Offset within $haystack |
Definition at line 143 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Search\insensitive().
|
static |
SEARCHSENSITIVE.
1.18.0
string | $needle | The string to look for |
string | $haystack | The string in which to look |
int | $offset | Offset within $haystack |
Definition at line 125 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Search\sensitive().
|
static |
STRINGLENGTH.
1.18.0
string | $value | Value |
Definition at line 229 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Text\length().
|
static |
SUBSTITUTE.
1.18.0
string | $text | Value |
string | $fromText | From Value |
string | $toText | To Value |
int | $instance | Instance Number |
Definition at line 321 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\Calculation\$instance, $text, and PhpOffice\PhpSpreadsheet\Calculation\TextData\Replace\substitute().
|
static |
TEXTFORMAT.
1.18.0
mixed | $value | Value to check |
string | $format | Format mask to use |
Definition at line 354 of file TextData.php.
References $format, and PhpOffice\PhpSpreadsheet\Calculation\TextData\Format\TEXTFORMAT().
|
static |
TEXTJOIN.
1.18.0
mixed | $delimiter | |
mixed | $ignoreEmpty | |
mixed | $args |
Definition at line 425 of file TextData.php.
References $delimiter, and PhpOffice\PhpSpreadsheet\Calculation\TextData\Concatenate\TEXTJOIN().
|
static |
TRIMNONPRINTABLE.
1.18.0
mixed | $stringValue | Value to check |
Definition at line 39 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Trim\nonPrintable().
|
static |
TRIMSPACES.
1.18.0
mixed | $stringValue | Value to check |
Definition at line 55 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Trim\spaces().
|
static |
UPPERCASE.
Converts a string value to upper case.
1.18.0
string | $mixedCaseString |
Definition at line 265 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\CaseConvert\upper().
|
static |
VALUE.
1.18.0
mixed | $value | Value to check |
Definition at line 370 of file TextData.php.
References PhpOffice\PhpSpreadsheet\Calculation\TextData\Format\VALUE().