class PHPExcel_Calculation_Function

PHPExcelCalculationFunction

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

Constants

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

Methods

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

Create a new PHPExcelCalculationFunction

string
getCategory()

Get Category (represented by CATEGORY_*)

setCategory(string $value = null)

Set Category (represented by CATEGORY_*)

string
getExcelName()

Get Excel name

setExcelName(string $value)

Set Excel name

string
getPHPExcelName()

Get PHPExcel name

setPHPExcelName(string $value)

Set PHPExcel name

Details

at line 81
__construct(string $pCategory = null, string $pExcelName = null, string $pPHPExcelName = null)

Create a new PHPExcelCalculationFunction

Parameters

string $pCategory Category (represented by CATEGORY_*)
string $pExcelName Excel function name
string $pPHPExcelName PHPExcel function mapping

Exceptions

PHPExcel_Calculation_Exception

at line 98
string getCategory()

Get Category (represented by CATEGORY_*)

Return Value

string

at line 109
setCategory(string $value = null)

Set Category (represented by CATEGORY_*)

Parameters

string $value

Exceptions

PHPExcel_Calculation_Exception

at line 123
string getExcelName()

Get Excel name

Return Value

string

at line 133
setExcelName(string $value)

Set Excel name

Parameters

string $value

at line 143
string getPHPExcelName()

Get PHPExcel name

Return Value

string

at line 153
setPHPExcelName(string $value)

Set PHPExcel name

Parameters

string $value