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

Class: I18N_UnicodeNormalizer_File

Source Location: /I18N_UnicodeNormalizer-1.0.0/UnicodeNormalizer/File.php

Class Overview


File management


Author(s):

Version:

  • SVN: $Id: File.php 38 2007-07-23 11:42:30Z mcorne $

Copyright:

  • 2007 Michel Corne

Methods


Inherited Variables

Inherited Methods


Class Details

[line 50]
File management


[ Top ]


Method Detail

__construct (Constructor)   [line 115]

void __construct( )

The class constructor
  • Access: public

[ Top ]

put   [line 145]

void put( string $fileName, mixed $data, [string $generatedBy = ''], [string $sourceName = ''], [string $comment = ''], [string $date = ''])

Exports data into a PHP array

Creates the file header. Exports the data. Creates the file.

 File format: <?php /** header... * / return array(...); ?>
 File usage: $data = include 'foo.php';

  • Access: public

Parameters:

string   $fileName     the file name
mixed   $data     the data
string   $generatedBy     the class::method that generated the data, typically the function calling this method, default is no information
string   $sourceName     the name of the file the data was generated from, default is no information
string   $comment     a comment, default is no comment
string   $date     the date the file is created at, the current date is used by default

[ Top ]


Documentation generated on Sat, 04 Aug 2007 11:00:11 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.