PHP 클래스 Elgg\Database\ConfigTable

WARNING: API IN FLUX. DO NOT USE DIRECTLY.
부터: 1.10.0
파일 보기 프로젝트 열기: elgg/elgg

보호된 프로퍼티들

프로퍼티 타입 설명
$boot Elgg\BootService
$db Elgg\Database
$logger Elgg\Logger

공개 메소드들

메소드 설명
__construct ( Database $db, BootService $boot, Logger $logger ) Constructor
get ( string $name ) : mixed | null Gets a configuration value
remove ( string $name ) : boolean Removes a config setting.
set ( string $name, mixed $value ) : boolean Add or update a config setting.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Database $db, BootService $boot, Logger $logger )
$db Elgg\Database Database
$boot Elgg\BootService BootService
$logger Elgg\Logger Logger

get() 공개 메소드

Plugin authors should use elgg_get_config().
public get ( string $name ) : mixed | null
$name string The name of the config value
리턴 mixed | null

remove() 공개 메소드

Removes a config setting.
public remove ( string $name ) : boolean
$name string The name of the field.
리턴 boolean Success or failure

set() 공개 메소드

Plugin authors should use elgg_set_config(). If the config name already exists, it will be updated to the new value.
public set ( string $name, mixed $value ) : boolean
$name string The name of the configuration value
$value mixed Its value
리턴 boolean

프로퍼티 상세

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

protected BootService,Elgg $boot
리턴 Elgg\BootService

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

protected Database,Elgg $db
리턴 Elgg\Database

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

protected Logger,Elgg $logger
리턴 Elgg\Logger