PHP 클래스 Elgg\Config

부터: 1.10.0
상속: implements Elgg\Services\Config
파일 보기 프로젝트 열기: elgg/elgg 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( stdClass $config = null, boolean $set_global = true ) Constructor
get ( $name )
getCachePath ( )
getCookieConfig ( ) : array Set up and return the cookie configuration array resolved from settings.php
getDataPath ( )
getPluginsPath ( )
getSiteUrl ( )
getStorageObject ( ) : stdClass Get the raw \stdClass object used for storage.
getVolatile ( $name )
loadSettingsFile ( )
remove ( $name )
save ( $name, $value )
set ( $name, $value )

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( stdClass $config = null, boolean $set_global = true )
$config stdClass Elgg's $CONFIG object
$set_global boolean Copy the config object to global $CONFIG

get() 공개 메소드

public get ( $name )

getCachePath() 공개 메소드

public getCachePath ( )

getCookieConfig() 공개 메소드

Set up and return the cookie configuration array resolved from settings.php
public getCookieConfig ( ) : array
리턴 array

getDataPath() 공개 메소드

public getDataPath ( )

getPluginsPath() 공개 메소드

public getPluginsPath ( )

getSiteUrl() 공개 메소드

public getSiteUrl ( )

getStorageObject() 공개 메소드

We need this, for now, to construct some services.
public getStorageObject ( ) : stdClass
리턴 stdClass

getVolatile() 공개 메소드

public getVolatile ( $name )

loadSettingsFile() 공개 메소드

public loadSettingsFile ( )

remove() 공개 메소드

public remove ( $name )

save() 공개 메소드

public save ( $name, $value )

set() 공개 메소드

public set ( $name, $value )