public function PHPExcel_HashTable::add in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/HashTable.php \PHPExcel_HashTable::add()
* Add HashTable item * *
Parameters
PHPExcel_IComparable $pSource Item to add: * @throws PHPExcel_Exception
1 call to PHPExcel_HashTable::add()
- PHPExcel_HashTable::addFromSource in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ HashTable.php - * Add HashTable items from source * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ HashTable.php, line 91
Class
- PHPExcel_HashTable
- PHPExcel_HashTable
Code
public function add(PHPExcel_IComparable $pSource = null) {
$hash = $pSource
->getHashCode();
if (!isset($this->_items[$hash])) {
$this->_items[$hash] = $pSource;
$this->_keyMap[count($this->_items) - 1] = $hash;
}
}