ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 () |
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=1, $chars=null, $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 Private Member Functions | |
static | _uniord ($c) |
Static Private Attributes | |
static | $_invalidChars = Null |
Definition at line 46 of file TextData.php.
|
staticprivate |
Definition at line 50 of file TextData.php.
References PHPExcel_Calculation_Functions\VALUE().
|
static |
ASCIICODE.
string | $characters | Value |
Definition at line 138 of file TextData.php.
References PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\getCompatibilityMode(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
CHARACTER.
string | $character | Value |
Definition at line 74 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
CONCATENATE.
Definition at line 166 of file TextData.php.
References PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\flattenArray(), PHPExcel_Calculation_Functions\getCompatibilityMode(), PHPExcel_Calculation\getFALSE(), and PHPExcel_Calculation\getTRUE().
|
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)..
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 200 of file TextData.php.
References $mask, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_MathTrig\MROUND(), PHPExcel_Calculation_Functions\NaN(), and PHPExcel_Style_NumberFormat\toFormattedString().
|
static |
FIXEDFORMAT.
mixed | $value | Value to check |
integer | $decimals | |
boolean | $no_commas |
Definition at line 304 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), and PHPExcel_Calculation_Functions\NaN().
|
static |
LEFT.
string | $value | Value |
int | $chars | Number of characters |
Definition at line 332 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
LOWERCASE.
Converts a string value to upper case.
string | $mixedCaseString |
Definition at line 437 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Shared_String\StrToLower().
|
static |
MID.
string | $value | Value |
int | $start | Start character |
int | $chars | Number of characters |
Definition at line 360 of file TextData.php.
References $start, PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
PROPERCASE.
Converts a string value to upper case.
string | $mixedCaseString |
Definition at line 475 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Shared_String\StrToTitle().
|
static |
REPLACE.
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 495 of file TextData.php.
References $start, and PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
RETURNSTRING.
mixed | $testValue | Value to check |
Definition at line 561 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
RIGHT.
string | $value | Value |
int | $chars | Number of characters |
Definition at line 388 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
SEARCHINSENSITIVE.
string | $needle | The string to look for |
string | $haystack | The string in which to look |
int | $offset | Offset within $haystack |
Definition at line 268 of file TextData.php.
References PHPExcel_Shared_String\CountCharacters(), PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
SEARCHSENSITIVE.
string | $needle | The string to look for |
string | $haystack | The string in which to look |
int | $offset | Offset within $haystack |
Definition at line 232 of file TextData.php.
References PHPExcel_Shared_String\CountCharacters(), PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Calculation_Functions\VALUE().
|
static |
STRINGLENGTH.
string | $value | Value |
Definition at line 414 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), and PHPExcel_Calculation\getTRUE().
|
static |
SUBSTITUTE.
string | $text | Value |
string | $fromText | From Value |
string | $toText | To Value |
integer | $instance | Instance Number |
Definition at line 517 of file TextData.php.
References $text, and PHPExcel_Calculation_Functions\flattenSingleValue().
|
static |
TEXTFORMAT.
mixed | $value | Value to check |
string | $format | Format mask to use |
Definition at line 578 of file TextData.php.
References PHPExcel_Calculation_DateTime\DATEVALUE(), PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Shared_Date\isDateTimeFormatCode(), and PHPExcel_Style_NumberFormat\toFormattedString().
|
static |
TRIMNONPRINTABLE.
mixed | $stringValue | Value to check |
Definition at line 95 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and range.
|
static |
TRIMSPACES.
mixed | $stringValue | Value to check |
Definition at line 119 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), and PHPExcel_Calculation\getTRUE().
|
static |
UPPERCASE.
Converts a string value to upper case.
string | $mixedCaseString |
Definition at line 456 of file TextData.php.
References PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation\getFALSE(), PHPExcel_Calculation\getTRUE(), and PHPExcel_Shared_String\StrToUpper().
|
static |
VALUE.
mixed | $value | Value to check |
Definition at line 595 of file TextData.php.
References PHPExcel_Calculation_DateTime\DATEVALUE(), PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Shared_String\getCurrencyCode(), PHPExcel_Calculation_Functions\getReturnDateType(), PHPExcel_Shared_String\getThousandsSeparator(), PHPExcel_Calculation_Functions\RETURNDATE_EXCEL, PHPExcel_Calculation_Functions\setReturnDateType(), PHPExcel_Calculation_DateTime\TIMEVALUE(), and PHPExcel_Calculation_Functions\VALUE().
|
staticprivate |
Definition at line 48 of file TextData.php.