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

Class: DftkFileChange

Source Location: /file/dftk_file_change.php

Class Overview


DFTK File Change Class


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
DFTK File Change Class

This classe is used to manage things like backup of the configuration file if modified, writing to and so on...




Tags:

access:  public
author:  Rtp <mailto:rtp@rtp-net.org>


[ Top ]


Class Methods


constructor DftkFileChange [line 99]

DftkFileChange DftkFileChange( object DftkDaTraceManager &$tracemgr, string $file, [string $path = "./"], [string $ext = "bak"])

Constructor



Tags:

access:  public


Parameters:

object DftkDaTraceManager   &$tracemgr   Language Manager
string   $file   Configuration file name
string   $path   File path
string   $ext   Backup extenstion

[ Top ]

method close [line 152]

object DftkDaTrace &close( )

Close the file

Result :

  • 'file_changed' : true if the file has changed




Tags:

return:  Trace
access:  public


[ Top ]

method open [line 124]

object DftkDaTrace &open( )

Open the file to handle



Tags:

return:  Trace
access:  public


[ Top ]

method write [line 200]

object DftkDaTrace &write( string $string, [integer $length = 0])

Write to the file

Result :

  • 'writen_bytes' : number of bytes really written




Tags:

return:  Trace
access:  public


Parameters:

string   $string   String to write
integer   $length   Number of bytes to write

[ Top ]


Documentation generated on Sat, 6 Dec 2003 13:47:37 +0100 by phpDocumentor 1.2.3