You can add row metadata with this method.
public addRowsFromArray ( array $array ) | ||
$array | array | Array with the following structure array( // row1 array( Row::COLUMNS => array( col1_name => value1, col2_name => value2, ...), Row::METADATA => array( metadata1_name => value1, ...), // see Row ), // row2 array( ... ), ) |