--TEST-- 9.phpt: 6 row 3 column, updateAllAttributes --FILE-- $value) { $table->addRow($value, 'bgcolor = "yellow" align = "right"'); } // This overwrites attrs thus removing align="right" $table->setColAttributes(0, 'bgcolor = "pink"'); // This updates attrs thus keeping aligh="right" but change bgcolor $table->updateColAttributes(2, array('bgcolor = "blue"', 'bgcolor="green"', 'bgcolor="red"')); // this updates $table->updateAllAttributes('bgcolor="pink"'); // output echo $table->toHTML(); ?> --EXPECT--
Foo Bar Test
Foo Bar Test
Foo Bar Test
Foo Bar Test
Foo Bar Test
Foo Bar Test