Class php_file_utilities

Description
Method Summary
mixed &getDataFromFile (string $filename, string $readAttributes, [mixed $readSize = 8192])
void putDataToFile (string $fileName, mixed &$data, string $writeAttributes)
Methods
getDataFromFile (line 14)

Retrieves binary or text data from the specified file

  • return: he text or binary data contained in the file
mixed &getDataFromFile (string $filename, string $readAttributes, [mixed $readSize = 8192])
  • string $filename: The file path
  • string $readAttributes: The attributes for the read operation ('r' or 'rb')
putDataToFile (line 41)

Writes the specified binary or text data to a file

void putDataToFile (string $fileName, mixed &$data, string $writeAttributes)
  • string $fileName: The file path
  • mixed &$data: The data to be written
  • string $writeAttributes: The attributes for the write operation ('w' or 'wb')

Documentation generated on Fri, 4 Mar 2005 13:57:03 +1000 by phpDocumentor 1.3.0RC3