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

Class: Contact_AddressBook_Builder_CSV

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

Class Overview

Contact_AddressBook_Builder
   |
   --Contact_AddressBook_Builder_CSV

Class for building CSV address book format.


Author(s):

Version:

  • Release: 0.5.1

Copyright:

  • Copyright (c) 2004-2005 Firman Wandayandi

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 76]
Class for building CSV address book format.
  • Author: Firman Wandayandi <firman@php.net>
  • Version: Release: 0.5.1
  • Copyright: Copyright (c) 2004-2005 Firman Wandayandi
  • License: BSD License


[ Top ]


Class Variables

$extension =  'csv'

[line 94]

File extension.
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]

$mime =  'text/x-csv'

[line 86]

MIME Type when send the output to the browser.
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

build   [line 152]

bool|PEAR_Error build( )

Build the structure format.
  • Return: TRUE on success or PEAR_Error on failure.
  • Access: public

Overrides Contact_AddressBook_Builder::build() (Build the structure format.)
[ Top ]

setFormat   [line 123]

void setFormat( string $format)

Set the address book format.
  • Access: public

Parameters:

string   $format     Address book format.

[ Top ]

setLanguage   [line 138]

void setLanguage( string $language)

Set the language, only use address book show the header.
  • 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.