C# Class PHP.Library.Data.PDOMySQLConfiguration

PDO MySQL configuration.
Afficher le fichier Open project: DEVSENSE/PhalangerMySql Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void