PHP 클래스 PMA\libraries\config\ServerConfigChecks

Outputs results to message list, must be called between PMA_messagesBegin() and PMA_messagesEnd()
파일 보기 프로젝트 열기: phpmyadmin/phpmyadmin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cfg configurations being checked

공개 메소드들

메소드 설명
__construct ( PMA\libraries\config\ConfigFile $cfg ) Constructor.
performConfigChecks ( ) : void Perform config checks

보호된 메소드들

메소드 설명
defineMessages ( ) : array Define all messages
performConfigChecksCookieAuthUsed ( boolean $cookieAuthUsed, boolean $blowfishSecretSet, string $sBlowfishSecretMsg, string $blowfishSecret ) : array Check config of servers
performConfigChecksLoginCookie ( string $sLoginCookieValidityWarn, string $sLoginCookieValidityWarn2, string $sLoginCookieValidityWarn3 ) : void Check configuration for login cookie
performConfigChecksServerBZipdump ( string $sBZipDumpWarn ) : void Check GZipDump configuration
performConfigChecksServerGZipdump ( string $sGZipDumpWarn ) : void Check GZipDump configuration
performConfigChecksServers ( boolean $cookieAuthUsed, string $blowfishSecret, string $sServerAuthCfgMsg, string $sSecurityInfoMsg, boolean $blowfishSecretSet ) : array Check config of servers
performConfigChecksServersGetServerName ( string $serverName, integer $serverId ) : string Define server name
performConfigChecksServersSetBlowfishSecret ( string $blowfishSecret, boolean $cookieAuthServer, boolean $blowfishSecretSet ) : array Set blowfish secret
performConfigChecksServersZipdump ( string $sZipDumpImportWarn, string $sZipDumpExportWarn ) : void Perform config checks for zip part.
performConfigChecksZips ( string $sGZipDumpWarning, string $sBZipDumpWarning, string $sZipDumpImportWarn, string $sZipDumpExportWarn ) : void Perform config checks for zip part.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( PMA\libraries\config\ConfigFile $cfg )
$cfg PMA\libraries\config\ConfigFile Configuration

defineMessages() 보호된 정적인 메소드

Define all messages
protected static defineMessages ( ) : array
리턴 array

performConfigChecks() 공개 메소드

Perform config checks
public performConfigChecks ( ) : void
리턴 void

performConfigChecksCookieAuthUsed() 보호된 메소드

Check config of servers
protected performConfigChecksCookieAuthUsed ( boolean $cookieAuthUsed, boolean $blowfishSecretSet, string $sBlowfishSecretMsg, string $blowfishSecret ) : array
$cookieAuthUsed boolean Cookie auth is used
$blowfishSecretSet boolean Blowfish secret set
$sBlowfishSecretMsg string Blowfish secret message
$blowfishSecret string Blowfish secret
리턴 array

performConfigChecksLoginCookie() 보호된 메소드

Check configuration for login cookie
protected performConfigChecksLoginCookie ( string $sLoginCookieValidityWarn, string $sLoginCookieValidityWarn2, string $sLoginCookieValidityWarn3 ) : void
$sLoginCookieValidityWarn string Warning 1 for login cookie validity
$sLoginCookieValidityWarn2 string Warning 2 for login cookie validity
$sLoginCookieValidityWarn3 string Warning 3 for login cookie validity
리턴 void

performConfigChecksServerBZipdump() 보호된 메소드

Check GZipDump configuration
protected performConfigChecksServerBZipdump ( string $sBZipDumpWarn ) : void
$sBZipDumpWarn string Warning for BZipDumpWarning
리턴 void

performConfigChecksServerGZipdump() 보호된 메소드

Check GZipDump configuration
protected performConfigChecksServerGZipdump ( string $sGZipDumpWarn ) : void
$sGZipDumpWarn string Warning for GZipDumpWarning
리턴 void

performConfigChecksServers() 보호된 메소드

Check config of servers
protected performConfigChecksServers ( boolean $cookieAuthUsed, string $blowfishSecret, string $sServerAuthCfgMsg, string $sSecurityInfoMsg, boolean $blowfishSecretSet ) : array
$cookieAuthUsed boolean Cookie auth is used
$blowfishSecret string Blowfish secret
$sServerAuthCfgMsg string Message for server auth config
$sSecurityInfoMsg string Message for security information
$blowfishSecretSet boolean Blowfish secret set
리턴 array

performConfigChecksServersGetServerName() 보호된 메소드

Define server name
protected performConfigChecksServersGetServerName ( string $serverName, integer $serverId ) : string
$serverName string Server name
$serverId integer Server id
리턴 string Server name

performConfigChecksServersSetBlowfishSecret() 보호된 메소드

Set blowfish secret
protected performConfigChecksServersSetBlowfishSecret ( string $blowfishSecret, boolean $cookieAuthServer, boolean $blowfishSecretSet ) : array
$blowfishSecret string Blowfish secret
$cookieAuthServer boolean Cookie auth is used
$blowfishSecretSet boolean Blowfish secret set
리턴 array

performConfigChecksServersZipdump() 보호된 메소드

Perform config checks for zip part.
protected performConfigChecksServersZipdump ( string $sZipDumpImportWarn, string $sZipDumpExportWarn ) : void
$sZipDumpImportWarn string Zip dump import warning
$sZipDumpExportWarn string Zip dump export warning
리턴 void

performConfigChecksZips() 보호된 메소드

Perform config checks for zip part.
protected performConfigChecksZips ( string $sGZipDumpWarning, string $sBZipDumpWarning, string $sZipDumpImportWarn, string $sZipDumpExportWarn ) : void
$sGZipDumpWarning string Gzip dump warning
$sBZipDumpWarning string Bzip dump warning
$sZipDumpImportWarn string Zip dump import warning
$sZipDumpExportWarn string Zip dump export warning
리턴 void

프로퍼티 상세

$cfg 보호되어 있는 프로퍼티

configurations being checked
protected $cfg