[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/phpexcel/PHPExcel/Calculation/ -> TextData.php (summary)

(no description)

File Size: 651 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Calculation_TextData:: (22 methods):
  unicodeToOrd()
  CHARACTER()
  TRIMNONPRINTABLE()
  TRIMSPACES()
  ASCIICODE()
  CONCATENATE()
  DOLLAR()
  SEARCHSENSITIVE()
  SEARCHINSENSITIVE()
  FIXEDFORMAT()
  LEFT()
  MID()
  RIGHT()
  STRINGLENGTH()
  LOWERCASE()
  UPPERCASE()
  PROPERCASE()
  REPLACE()
  SUBSTITUTE()
  RETURNSTRING()
  TEXTFORMAT()
  VALUE()


Class: PHPExcel_Calculation_TextData  - X-Ref

PHPExcel_Calculation_TextData

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

unicodeToOrd($c)   X-Ref
No description

CHARACTER($character)   X-Ref
CHARACTER

param: string    $character    Value
return: int

TRIMNONPRINTABLE($stringValue = '')   X-Ref
TRIMNONPRINTABLE

param: mixed    $stringValue    Value to check
return: string

TRIMSPACES($stringValue = '')   X-Ref
TRIMSPACES

param: mixed    $stringValue    Value to check
return: string

ASCIICODE($characters)   X-Ref
ASCIICODE

param: string    $characters        Value
return: int

CONCATENATE()   X-Ref
CONCATENATE

return: string

DOLLAR($value = 0, $decimals = 2)   X-Ref
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)..

param: float    $value            The value to format
param: int        $decimals        The number of digits to display to the right of the decimal point.
return: string

SEARCHSENSITIVE($needle, $haystack, $offset = 1)   X-Ref
SEARCHSENSITIVE

param: string    $needle        The string to look for
param: string    $haystack    The string in which to look
param: int        $offset        Offset within $haystack
return: string

SEARCHINSENSITIVE($needle, $haystack, $offset = 1)   X-Ref
SEARCHINSENSITIVE

param: string    $needle        The string to look for
param: string    $haystack    The string in which to look
param: int        $offset        Offset within $haystack
return: string

FIXEDFORMAT($value, $decimals = 2, $no_commas = false)   X-Ref
FIXEDFORMAT

param: mixed        $value    Value to check
param: integer        $decimals
param: boolean        $no_commas
return: boolean

LEFT($value = '', $chars = 1)   X-Ref
LEFT

param: string    $value    Value
param: int        $chars    Number of characters
return: string

MID($value = '', $start = 1, $chars = null)   X-Ref
MID

param: string    $value    Value
param: int        $start    Start character
param: int        $chars    Number of characters
return: string

RIGHT($value = '', $chars = 1)   X-Ref
RIGHT

param: string    $value    Value
param: int        $chars    Number of characters
return: string

STRINGLENGTH($value = '')   X-Ref
STRINGLENGTH

param: string    $value    Value
return: string

LOWERCASE($mixedCaseString)   X-Ref
LOWERCASE

Converts a string value to upper case.

param: string        $mixedCaseString
return: string

UPPERCASE($mixedCaseString)   X-Ref
UPPERCASE

Converts a string value to upper case.

param: string        $mixedCaseString
return: string

PROPERCASE($mixedCaseString)   X-Ref
PROPERCASE

Converts a string value to upper case.

param: string        $mixedCaseString
return: string

REPLACE($oldText = '', $start = 1, $chars = null, $newText)   X-Ref
REPLACE

param: string    $oldText    String to modify
param: int        $start        Start character
param: int        $chars        Number of characters
param: string    $newText    String to replace in defined position
return: string

SUBSTITUTE($text = '', $fromText = '', $toText = '', $instance = 0)   X-Ref
SUBSTITUTE

param: string    $text        Value
param: string    $fromText    From Value
param: string    $toText        To Value
param: integer    $instance    Instance Number
return: string

RETURNSTRING($testValue = '')   X-Ref
RETURNSTRING

param: mixed    $testValue    Value to check
return: boolean

TEXTFORMAT($value, $format)   X-Ref
TEXTFORMAT

param: mixed    $value    Value to check
param: string    $format    Format mask to use
return: boolean

VALUE($value = '')   X-Ref
VALUE

param: mixed    $value    Value to check
return: boolean



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1