| Cts_ConfigFile | |
| Author | Jaybill McCarthy |
| License | http://communit.as/docs/license |
| Static Methods | |
| makeSection | Prepares a string formatted for use in a config file. |
static function makeSection( $section_name, $title, $comment, $keyvals )
Prepares a string formatted for use in a config file. Does not write to any files, just returns a formatted string.
| section_name | The name of the section to write to the config file. |
| title | The title to write to the config file. |
| comment | A comment to write to the config file. |
| keyvals | An array of key-value pairs to write to the config file as configuration settings. |
A formatted string that can be written to a config file.
Prepares a string formatted for use in a config file.
static function makeSection( $section_name, $title, $comment, $keyvals )