public function addFromSource($pSource = null) {
		// Check if an array was passed
		if ($pSource == null) {
			return;
		} else if (!is_array($pSource)) {
			throw new PHPExcel_Exception('Invalid array parameter passed.');
		}

		foreach ($pSource as $item) {
			$this->add($item);
		}
	}
public function addFromSource($pSource = null) {
		// Check if an array was passed
		if ($pSource == null) {
			return;
		} else if (!is_array($pSource)) {
			throw new PHPExcel_Exception('Invalid array parameter passed.');
		}

		foreach ($pSource as $item) {
			$this->add($item);
		}
	}
public function addFromSource ( $ pSource = null ) { // Check if an array was passed if ( $ pSource == null ) { return ; } else if ( ! is_array ( $ pSource ) ) { throw new PHPExcel_Exception ( 'Invalid array parameter passed.' ) ; } foreach ( $ pSource as $ item ) { $ this -> add ( $ item ) ; } }
Add HashTable items from source

@param	PHPExcel_IComparable[] $pSource	Source array to create HashTable from
@throws	PHPExcel_Exception
Add HashTable items from source