[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/classes/dataformat/ -> spout_base.php (summary)

Common Spout class for dataformat.

Copyright: 2016 Brendan Heywood (brendan@catalyst-au.net)
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 103 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  send_http_headers()
  set_sheettitle()
  write_header()
  write_record()
  write_footer()

Functions
Functions that are not part of a class:

send_http_headers()   X-Ref
Output file headers to initialise the download of the file.


set_sheettitle($title)   X-Ref
Set the title of the worksheet inside a spreadsheet

For some formats this will be ignored.

param: string $title

write_header($columns)   X-Ref
Write the start of the format

param: array $columns

write_record($record, $rownum)   X-Ref
Write a single record

param: object $record
param: int $rownum

write_footer($columns)   X-Ref
Write the end of the format

param: array $columns



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1