public function Excel_XML::addArray in Views Excel Export 6
Same name and namespace in other branches
- 7 libs/php-excel.class.php \Excel_XML::addArray()
Add an array to the document
Parameters
array 2-dimensional array:
File
- libs/
php-excel.class.php, line 141
Class
- Excel_XML
- Generating excel documents on-the-fly from PHP5
Code
public function addArray($array) {
foreach ($array as $k => $v) {
$this
->addRow($v);
}
}