C# Class PHP.Library.Data.PDOMySQLConfiguration

PDO MySQL configuration.
显示文件 Open project: DEVSENSE/PhalangerMySql Class Usage Examples

Public Methods

Method Description
LegacyOptionsToXml ( XmlTextWriter writer, Hashtable options, bool writePhpNames ) : void

Writes PDO legacy options and their values to XML text stream. Skips options whose values are the same as default values of Phalanger.

Private Methods

Method Description
GetSetRestore ( PHP.Core.LocalConfiguration config, string option, object value, IniAction action ) : object

Gets, sets, or restores a value of a legacy configuration option.

PDOMySQLConfiguration ( ) : System
RegisterLegacyOptions ( ) : void

Registers legacy ini-options.

Method Details

LegacyOptionsToXml() public static method

Writes PDO legacy options and their values to XML text stream. Skips options whose values are the same as default values of Phalanger.
public static LegacyOptionsToXml ( XmlTextWriter writer, Hashtable options, bool writePhpNames ) : void
writer System.Xml.XmlTextWriter XML writer.
options System.Collections.Hashtable A hashtable containing PHP names and option values. Consumed options are removed from the table.
writePhpNames bool Whether to add "phpName" attribute to option nodes.
return void