2
0
forked from Wavyzz/dolibarr

Mise a jour librairie php_writeexcel en 0.3.0 (la prcdente ne fonctionne pas en php5)

This commit is contained in:
Laurent Destailleur
2006-01-27 20:52:08 +00:00
parent c5462977e4
commit 08615d2bbc
27 changed files with 3430 additions and 1316 deletions

View File

@@ -110,7 +110,7 @@ class writeexcel_format {
// Set properties passed to writeexcel_workbook::addformat()
if (sizeof($_)>0) {
call_user_method_array('set_properties', $this, $_);
call_user_func_array(array(&$this, 'set_properties'), $_);
}
}
@@ -119,7 +119,9 @@ class writeexcel_format {
*/
function copy($other) {
$xf = $this->_xf_index; // Backup XF index
$this = $other; // Copy properties
foreach ($other as $key->$value) {
$this->{$key} = $value;
}
$this->_xf_index = $xf; // Restore XF index
}