FORMfields


FORMfields.FfProperties

Class FfProperties

FfProperties

public class FfProperties

FfProperties provides a mechanism for writing system properties to a PHP file.

Since:
FORMfields v3.0

Method Summary
boolean

save(string filename, string properties)

Writes properties to a PHP file.

Method Detail

save

public boolean save(string filename, string properties)

Writes properties to a PHP file. These properties must be in the form '$GLOBALS[""] = "";' Note: You must have write access to the properties file!

Parameters:
filename - the path to the PHP properties file
properties - an array of properties where the index is the property name and the corresponding array value is the property value
Returns:
false if there was an error writing to the file or true if the write was successful
Since:
FORMfields v3.0

FORMfields