PHP 클래스 AdminPageFramework_WPUtility_Option

상속: extends AdminPageFramework_WPUtility_File
파일 보기 프로젝트 열기: michaeluno/admin-page-framework 1 사용 예제들

공개 메소드들

메소드 설명
_getCompatibleTransientKey ( $sSubject, $iAllowedCharacterLength = 45 )
deleteTransient ( $sTransientKey )
getOption ( $sOptionKey, $asKey = null, $vDefault = null, array $aAdditionalOptions = [] )
getSiteOption ( $sOptionKey, $asKey = null, $vDefault = null, array $aAdditionalOptions = [] )
getTransient ( $sTransientKey, $vDefault = null )
setTransient ( $sTransientKey, $vValue, $iExpiration )

비공개 메소드들

메소드 설명
_getOptionByFunctionName ( $sOptionKey, $asKey = null, $vDefault = null, array $aAdditionalOptions = [], $sFunctionName = 'get_option' )

메소드 상세

_getCompatibleTransientKey() 공개 정적인 메소드

public static _getCompatibleTransientKey ( $sSubject, $iAllowedCharacterLength = 45 )

deleteTransient() 공개 정적인 메소드

public static deleteTransient ( $sTransientKey )

getOption() 공개 정적인 메소드

public static getOption ( $sOptionKey, $asKey = null, $vDefault = null, array $aAdditionalOptions = [] )
$aAdditionalOptions array

getSiteOption() 공개 정적인 메소드

public static getSiteOption ( $sOptionKey, $asKey = null, $vDefault = null, array $aAdditionalOptions = [] )
$aAdditionalOptions array

getTransient() 공개 정적인 메소드

public static getTransient ( $sTransientKey, $vDefault = null )

setTransient() 공개 정적인 메소드

public static setTransient ( $sTransientKey, $vValue, $iExpiration )