PHP 클래스 Gc\Core\Config

상속: extends Gc\Db\AbstractTable
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$name string Table name

공개 메소드들

메소드 설명
getValue ( string $data, string $field = 'identifier' ) : string Get config value
getValues ( ) : array Return all values from core_config_data
setValue ( string $identifier, string $value ) : boolean Set config value

메소드 상세

getValue() 공개 메소드

Get config value
public getValue ( string $data, string $field = 'identifier' ) : string
$data string Data
$field string Optional database field, by default 'identifier'
리턴 string value

getValues() 공개 메소드

Return all values from core_config_data
public getValues ( ) : array
리턴 array

setValue() 공개 메소드

Set config value
public setValue ( string $identifier, string $value ) : boolean
$identifier string Identifier
$value string Value
리턴 boolean

프로퍼티 상세

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

Table name
protected string $name
리턴 string