tools
[ class tree: tools ] [ index: tools ] [ all elements ]

Class: PlaCSVExporter

Source Location: /lib/export.inc

Class Overview

PlaAbstractExporter
   |
   --PlaExporter
      |
      --PlaCSVExporter

Export to cvs format


Author(s):

  • Glen Ogilvie

Variables

Methods


Inherited Variables

Inherited Methods

Class: PlaExporter

PlaExporter::PlaExporter()
Constructor
PlaExporter::export()
Abstract method use to export data.
PlaExporter::is_safe_ascii()
Helper method to check if the attribute value should be base 64 encoded.
PlaExporter::pla_fetch_entry_array()
Return the entry as an array
PlaExporter::pla_fetch_entry_object()
Return the entry as an Entry object
PlaExporter::pla_get_ldap_info()
Return a PlaLdapInfo Object
PlaExporter::pla_has_entry()
Return true if there is some more entries to be processed
PlaExporter::pla_num_entries()
Return the number of entries
PlaExporter::setOutputFormat()
Set the carriage return /linefeed for the export

Class: PlaAbstractExporter

PlaAbstractExporter::pla_fetch_entry_array()
Return the entry as an array
PlaAbstractExporter::pla_fetch_entry_object()
Return the entry as an Entry object
PlaAbstractExporter::pla_get_ldap_info()
Return a PlaLdapInfo Object
PlaAbstractExporter::pla_has_entry()
Return true if there is some more entries to be processed
PlaAbstractExporter::pla_num_entries()
Return the number of entries

Class Details

[line 684]
Export to cvs format



Tags:

author:  Glen Ogilvie


[ Top ]


Class Variables

$escapeCode =  '"'

[line 698]


Type:   mixed


[ Top ]

$multivalue_separator =  " | "

[line 697]


Type:   mixed


[ Top ]

$qualifier =  '"'

[line 696]


Type:   mixed


[ Top ]

$separator =  ","

[line 695]

When doing an exporter, the method export need to be overriden.

A basic implementation is provided here. Customize to your need



Type:   mixed


[ Top ]



Class Methods


constructor PlaCSVExporter [line 686]

PlaCSVExporter PlaCSVExporter( mixed $exporter)



[ Top ]

method export [line 700]

void export( )



Overrides PlaExporter::export() (Abstract method use to export data.)

[ Top ]

method LdapEscape [line 780]

void LdapEscape( mixed $var)



[ Top ]


Documentation generated on Tue, 07 Feb 2006 17:03:40 +0100 by phpDocumentor 1.2.3