Added an isFormula() method to the cell object
This commit is contained in:
parent
bdd1f6fa31
commit
ea18123aea
|
@ -370,6 +370,16 @@ class PHPExcel_Cell
|
||||||
return $this->notifyCacheController();
|
return $this->notifyCacheController();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Identify if the cell contains a formula
|
||||||
|
*
|
||||||
|
* @return boolean
|
||||||
|
*/
|
||||||
|
public function isFormula()
|
||||||
|
{
|
||||||
|
return $this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Does this cell contain Data validation rules?
|
* Does this cell contain Data validation rules?
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue