SaveFile Method    
Navigation: CS File Writer for PHP > Methods >

CalyxFile->SaveFile Method

Saves the Calyx Point® file with any updates made to the file using the SetFieldValue method . This method will overwrite the original Calyx Point® file in the file system.

[PHP]
public function SaveFile(
);

Code Examples

[PHP]

require './CalyxFile.php';

$clxFile = new CalyxFile( 'johnsmith.brw');

$clxFile->SetFieldValue(100, 'Steve');  //Update the borrower's first name field with a new value

$clxFile->SaveFile(); //Updates the Calyx Point® file immediately  

NOTE:  You must use the SaveFileWithBackup method to create a backup of the original file prior to overwriting. 


  Copyright (c) 2010 Cite Systems, Inc.