프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$aInstances | Stores instances by option key. | ||
$aOptions | Stores the option values. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$bIsNetworkAdmin | Stores whether the currently loading page is in the network admin area. | ||
$sOptionKey | stores the option key for this plugin. |
메소드 | 설명 | |
---|---|---|
__construct ( $sOptionKey ) | Sets up properties. | |
delete ( ) | Deletes the option from the database. | |
get ( ) | Returns the specified option value. | |
getInstance ( $sOptionKey = '' ) | Returns the instance of the class. | |
hasUpgraded ( ) : boolean | Checks the version number | |
save ( $aOptions = null ) | Saves the options. | |
set ( ) | Sets the options. | |
update ( ) | Sets and save the options. |
메소드 | 설명 | |
---|---|---|
_getFormattedOptions ( $sOptionKey ) | Returns the formatted options array. | |
_getVersionByDepth ( $sVersion, $iDepth = 2 ) | Returns a stating part of version by the given depth. |
public static getInstance ( $sOptionKey = '' ) |
public hasUpgraded ( ) : boolean | ||
리턴 | boolean | True if yes; otherwise, false. |
protected $bIsNetworkAdmin |