Detailed Description
Definition at line 36 of file Function.php.
Constructor & Destructor Documentation
PHPExcel_Calculation_Function::__construct |
( |
|
$pCategory = null , |
|
|
|
$pExcelName = null , |
|
|
|
$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 |
- Exceptions
-
Definition at line 79 of file Function.php.
{
if (!is_null($pCategory) && !is_null($pExcelName) && !is_null($pPHPExcelName)) {
$this->_category = $pCategory;
$this->_excelName = $pExcelName;
$this->_phpExcelName = $pPHPExcelName;
} else {
throw new Exception(
"Invalid parameters passed.");
}
}
Member Function Documentation
PHPExcel_Calculation_Function::getCategory |
( |
| ) |
|
Get Category (represented by CATEGORY_*)
- Returns
- string
Definition at line 96 of file Function.php.
References $_category.
PHPExcel_Calculation_Function::getExcelName |
( |
| ) |
|
PHPExcel_Calculation_Function::getPHPExcelName |
( |
| ) |
|
PHPExcel_Calculation_Function::setCategory |
( |
|
$value = null | ) |
|
Set Category (represented by CATEGORY_*)
- Parameters
-
- Exceptions
-
Definition at line 106 of file Function.php.
{
if (!is_null($value)) {
$this->_category = $value;
} else {
throw new Exception(
"Invalid parameter passed.");
}
}
PHPExcel_Calculation_Function::setExcelName |
( |
|
$value | ) |
|
Set Excel name.
- Parameters
-
Definition at line 128 of file Function.php.
{
$this->_excelName = $value;
}
PHPExcel_Calculation_Function::setPHPExcelName |
( |
|
$value | ) |
|
Field Documentation
PHPExcel_Calculation_Function::$_category |
|
private |
PHPExcel_Calculation_Function::$_excelName |
|
private |
PHPExcel_Calculation_Function::$_phpExcelName |
|
private |
const PHPExcel_Calculation_Function::CATEGORY_CUBE = 'Cube' |
const PHPExcel_Calculation_Function::CATEGORY_DATABASE = 'Database' |
const PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME = 'Date and Time' |
const PHPExcel_Calculation_Function::CATEGORY_ENGINEERING = 'Engineering' |
const PHPExcel_Calculation_Function::CATEGORY_FINANCIAL = 'Financial' |
const PHPExcel_Calculation_Function::CATEGORY_INFORMATION = 'Information' |
const PHPExcel_Calculation_Function::CATEGORY_LOGICAL = 'Logical' |
const PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE = 'Lookup and Reference' |
const PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG = 'Math and Trig' |
const PHPExcel_Calculation_Function::CATEGORY_STATISTICAL = 'Statistical' |
const PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA = 'Text and Data' |
The documentation for this class was generated from the following file: