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

Class: Contact_AddressBook_Converter_CSV

Source Location: /Contact_AddressBook-0.5.1/Contact/AddressBook/Converter/CSV.php

Class Overview

Contact_AddressBook_Converter
   |
   --Contact_AddressBook_Converter_CSV

Class for handling CSV address book data structure converting.


Author(s):

Version:

  • Release: 0.5.1

Copyright:

  • Copyright (c) 2004-2005 Firman Wandayandi

Methods


Inherited Variables

Inherited Methods


Class Details

[line 105]
Class for handling CSV address book data structure converting.
  • Author: Firman Wandayandi <firman@php.net>
  • Version: Release: 0.5.1
  • Copyright: Copyright (c) 2004-2005 Firman Wandayandi
  • Since: Class available since Release 0.4.0alpha1
  • License: BSD License


[ Top ]


Method Detail

Contact_AddressBook_Converter_CSV (Constructor)   [line 142]

Contact_AddressBook_Converter_CSV Contact_AddressBook_Converter_CSV( )

Constructor.
  • Access: public

[ Top ]

convertFrom   [line 254]

array|PEAR_Error convertFrom( array $data)

Convert from default data structure into external structure.

Overrides Contact_AddressBook_Converter::convertFrom() (Convert from default data structure into external structure.)

Parameters:

array   $data     Address book data.

[ Top ]

performConvertByHeader   [line 214]

array|PEAR_Error performConvertByHeader( array $map, array $data)

Perform converting based on header.

Parameters:

array   $map     Converting map.
array   $data     Address book data to convert.

[ Top ]

setFormat   [line 160]

bool|PEAR_Error setFormat( string $format)

Set the address book format to convert.

Overrides Contact_AddressBook_Converter::setFormat() (Set the address book format to convert.)

Parameters:

string   $format     The address book format.

[ Top ]

setLanguage   [line 195]

void setLanguage( string $language)

Set the language.
  • Access: public

Parameters:

string   $language     Language.

[ Top ]


Documentation generated on Fri, 15 Oct 2010 14:30:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.