[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Base 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: 126 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  get_extension()
  set_filename()
  set_sheettitle()
  send_http_headers()
  write_header()
  write_footer()

Functions
Functions that are not part of a class:

get_extension()   X-Ref
Get the file extension

return: string file extension

set_filename($filename)   X-Ref
Set download filename base

param: string $filename

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

For some formats this will be ignored.

param: string $title

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


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

param: array $columns

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