Generic CSV export handler baseclass

package midcom.baseclasses

 Methods

_handler_csv ($handler_id, array $args, array $data)

Parameters

$handler_id

$args

$data

_load_data ($handler_id, $args, $data)

Parameters

$handler_id

$args

$data

_load_datamanagers (array $schemadbs)

Internal helper, loads the datamanagers for the given types.

Any error triggers a 500.

Parameters

$schemadbs

_load_schemadbs ($handler_id, $args, $data)

Parameters

$handler_id

$args

$data

_prepare_request_data ()

Simple helper which references all important members to the request data listing for usage within the style listing.

_show_csv ($handler_id, array $data)

Parameters

$handler_id

$data

encode_csv ($data)

Parameters

$data

_dump_rows ()

_init_csv_variables ()

_print_row (array $row)

Parameters

$row

 Properties

 

mixed $_rows

 

mixed $_schema

 

mixed $csv

 

boolean $include_guid

Flag indicating whether or not the GUID of the first type should be included in exports.
 

boolean $include_totals

Flag indicating whether or not totals for number fields should be generated
 

array $_datamanagers

The Datamanager of the objects to export.
 

mixed $_totals