C# Class PhpManager.Models.PhpSettings

显示文件 Open project: projectkudu/PHPManager

Public Methods

Method Description
GetAllDefinedSettingNames ( ) : IEnumerable
GetAllDefinedSettings ( ) : IEnumerable
GetAllUnusedPhpSettingNames ( ) : IEnumerable
GetCurrentMode ( ) : Mode
GetExtensions ( ) : IEnumerable
GetPhpExePath ( ) : string
GetPhpVersion ( ) : string
GetSettingSection ( string settingName ) : string
GetSettingValue ( string settingName ) : string
IsSettingUpdatable ( string name ) : bool
PhpSettings ( ) : System
PhpSettings ( string phpIniFile ) : System
RevertAllUserIniChanges ( ) : void
SaveSetting ( string settingName, string settingValue, string settingSection ) : bool
SetModeSettings ( Mode mode ) : void

Private Methods

Method Description
GetPhpIniFilePath ( ) : string
GetSetting ( string settingName ) : PHPIniSetting
GetUserSettingsFilePath ( ) : string

Gives the location of the .user.ini file, even if one doesn't exist yet

LoadPhpFile ( string phpFilePath ) : PHPIniFile

Method Details

GetAllDefinedSettingNames() public method

public GetAllDefinedSettingNames ( ) : IEnumerable
return IEnumerable

GetAllDefinedSettings() public method

public GetAllDefinedSettings ( ) : IEnumerable
return IEnumerable

GetAllUnusedPhpSettingNames() public method

public GetAllUnusedPhpSettingNames ( ) : IEnumerable
return IEnumerable

GetCurrentMode() public method

public GetCurrentMode ( ) : Mode
return Mode

GetExtensions() public method

public GetExtensions ( ) : IEnumerable
return IEnumerable

GetPhpExePath() public static method

public static GetPhpExePath ( ) : string
return string

GetPhpVersion() public static method

public static GetPhpVersion ( ) : string
return string

GetSettingSection() public method

public GetSettingSection ( string settingName ) : string
settingName string
return string

GetSettingValue() public method

public GetSettingValue ( string settingName ) : string
settingName string
return string

IsSettingUpdatable() public method

public IsSettingUpdatable ( string name ) : bool
name string
return bool

PhpSettings() public method

public PhpSettings ( ) : System
return System

PhpSettings() public method

public PhpSettings ( string phpIniFile ) : System
phpIniFile string
return System

RevertAllUserIniChanges() public method

public RevertAllUserIniChanges ( ) : void
return void

SaveSetting() public method

public SaveSetting ( string settingName, string settingValue, string settingSection ) : bool
settingName string
settingValue string
settingSection string
return bool

SetModeSettings() public method

public SetModeSettings ( Mode mode ) : void
mode Mode
return void