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

File: PHPConfig.php

Source Location: /Gtk2_PHPConfig-1.0.0RC2/Gtk2/PHPConfig.php

Classes:

Gtk2_PHPConfig
Gtk2_PHPConfig

Page Details:

Class for GUI-based configuration of a php.ini file

PHP Version 5

This class is based on the PHP-Gtk2 extension and provides a user-friendly interface for editing php.ini files. All the possible configuration options have been defined in a separate XML file . This allows for easy addition of directives as PHP is developed further.

The class can parse any existing ini file, or create new ones. Parsing of existing files is currently a little inefficient, suggestions for improvement are welcome. New files and files previously generated by Gtk2_PHPConfig are parsed at a good speed though.

The interface displays all available configuration sections on the left pane, and their corresponding options in the top right pane. The bottom right pane displays the description of the option selected and the facility to change the value of that option.

  • Author: Anant Narayanan <anant@php.net>
  • Link: http://pear.php.net/package/Gtk2_PHPConfig
  • Todo: Implement Christian's suggestion of asking for confirmation when a file is overwritten while doing a "save as"
  • Todo: Clicking Cancel on the File-Open dialog generates a notice
  • Todo: Add facility to add directives, apart from additions to XML
  • License: LGPL License 2.1

Documentation generated on Wed, 09 Dec 2015 22:51:44 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.