public static function setHeaders(array $data, array $attributes = array()) {
        foreach ($data as $header) {
            self::addHeader($header, $attributes);
        }
    }
public static function setHeaders(array $data, array $attributes = array()) {
        foreach ($data as $header) {
            self::addHeader($header, $attributes);
        }
    }
public static function setHeaders ( array $ data , array $ attributes = array ( ) ) { foreach ( $ data as $ header ) { self :: addHeader ( $ header , $ attributes ) ; } }
Sets header data
@param array $data Array of labels for each column
@param array $attributes Array of attr => value to apply to each column
Sets header data