\PHPExcel_Calculation_Function

PHPExcel_Calculation_Function

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

Summary

Methods
Properties
Constants
__construct()
getCategory()
setCategory()
getExcelName()
setExcelName()
getPHPExcelName()
setPHPExcelName()
No public properties found
CATEGORY_CUBE
CATEGORY_DATABASE
CATEGORY_DATE_AND_TIME
CATEGORY_ENGINEERING
CATEGORY_FINANCIAL
CATEGORY_INFORMATION
CATEGORY_LOGICAL
CATEGORY_LOOKUP_AND_REFERENCE
CATEGORY_MATH_AND_TRIG
CATEGORY_STATISTICAL
CATEGORY_TEXT_AND_DATA
No protected methods found
No protected properties found
N/A
No private methods found
$category
$excelName
$phpExcelName
N/A

Constants

CATEGORY_CUBE

CATEGORY_CUBE = 'Cube'

CATEGORY_DATABASE

CATEGORY_DATABASE = 'Database'

CATEGORY_DATE_AND_TIME

CATEGORY_DATE_AND_TIME = 'Date and Time'

CATEGORY_ENGINEERING

CATEGORY_ENGINEERING = 'Engineering'

CATEGORY_FINANCIAL

CATEGORY_FINANCIAL = 'Financial'

CATEGORY_INFORMATION

CATEGORY_INFORMATION = 'Information'

CATEGORY_LOGICAL

CATEGORY_LOGICAL = 'Logical'

CATEGORY_LOOKUP_AND_REFERENCE

CATEGORY_LOOKUP_AND_REFERENCE = 'Lookup and Reference'

CATEGORY_MATH_AND_TRIG

CATEGORY_MATH_AND_TRIG = 'Math and Trig'

CATEGORY_STATISTICAL

CATEGORY_STATISTICAL = 'Statistical'

CATEGORY_TEXT_AND_DATA

CATEGORY_TEXT_AND_DATA = 'Text and Data'

Properties

$category

$category : string

Category (represented by CATEGORY_*)

Type

string

$excelName

$excelName : string

Excel name

Type

string

$phpExcelName

$phpExcelName : string

PHPExcel name

Type

string

Methods

__construct()

__construct(string  $pCategory = null, string  $pExcelName = null, string  $pPHPExcelName = null) 

Create a new PHPExcel_Calculation_Function

Parameters

string $pCategory

Category (represented by CATEGORY_*)

string $pExcelName

Excel function name

string $pPHPExcelName

PHPExcel function mapping

Throws

\PHPExcel_Calculation_Exception

getCategory()

getCategory() : string

Get Category (represented by CATEGORY_*)

Returns

string

setCategory()

setCategory(string  $value = null) 

Set Category (represented by CATEGORY_*)

Parameters

string $value

Throws

\PHPExcel_Calculation_Exception

getExcelName()

getExcelName() : string

Get Excel name

Returns

string

setExcelName()

setExcelName(string  $value) 

Set Excel name

Parameters

string $value

getPHPExcelName()

getPHPExcelName() : string

Get PHPExcel name

Returns

string

setPHPExcelName()

setPHPExcelName(string  $value) 

Set PHPExcel name

Parameters

string $value