PHP 클래스 PayPal\Core\PPConfigManager

파일 보기 프로젝트 열기: paypal/sdk-core-php 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$defaults default config values

공개 메소드들

메소드 설명
get ( $searchKey ) simple getter for configuration params If an exact match for key is not found, does a "contains" search on the key
getConfigWithDefaults ( $config = null ) use the default configuration if it is not passed in hashmap
getIniPrefix ( $userId = null ) Utility method for handling account configuration return config key corresponding to the API userId passed in
getInstance ( ) create singleton object for PPConfigManager

비공개 메소드들

메소드 설명
__construct ( )
getConfigHashmap ( ) returns the config file hashmap
load ( $fileName ) used to load the file

메소드 상세

get() 공개 메소드

simple getter for configuration params If an exact match for key is not found, does a "contains" search on the key
public get ( $searchKey )

getConfigWithDefaults() 공개 정적인 메소드

use the default configuration if it is not passed in hashmap
public static getConfigWithDefaults ( $config = null )

getIniPrefix() 공개 메소드

If $userId is null, returns config keys corresponding to all configured accounts
public getIniPrefix ( $userId = null )

getInstance() 공개 정적인 메소드

create singleton object for PPConfigManager
public static getInstance ( )

프로퍼티 상세

$defaults 공개적으로 정적으로 프로퍼티

default config values
public static $defaults