_category = $pCategory; $this->_excelName = $pExcelName; $this->_phpExcelName = $pPHPExcelName; } else { throw new PHPExcel_Calculation_Exception("Invalid parameters passed."); } } /** * Get Category (represented by CATEGORY_*) * * @return string */ public function getCategory() { return $this->_category; } /** * Set Category (represented by CATEGORY_*) * * @param string $value * @throws PHPExcel_Calculation_Exception */ public function setCategory($value = null) { if (!is_null($value)) { $this->_category = $value; } else { throw new PHPExcel_Calculation_Exception("Invalid parameter passed."); } } /** * Get Excel name * * @return string */ public function getExcelName() { return $this->_excelName; } /** * Set Excel name * * @param string $value */ public function setExcelName($value) { $this->_excelName = $value; } /** * Get PHPExcel name * * @return string */ public function getPHPExcelName() { return $this->_phpExcelName; } /** * Set PHPExcel name * * @param string $value */ public function setPHPExcelName($value) { $this->_phpExcelName = $value; } }