PHP 클래스 Gc\Core\Translator

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
generateCache ( ) : void Generate php array file as cache
getValue ( string $source, string $locale = null ) : string Get config value
getValues ( string $locale = null, integer $limit = null ) : array Return all values from core_config_data
setValue ( string $source, array $destinations ) : boolean Set config value

메소드 상세

generateCache() 공개 메소드

Generate php array file as cache
public generateCache ( ) : void
리턴 void

getValue() 공개 메소드

Get config value
public getValue ( string $source, string $locale = null ) : string
$source string Source
$locale string Optional locale
리턴 string value

getValues() 공개 메소드

Return all values from core_config_data
public getValues ( string $locale = null, integer $limit = null ) : array
$locale string Locale
$limit integer Limit
리턴 array

setValue() 공개 메소드

Set config value
public setValue ( string $source, array $destinations ) : boolean
$source string Source
$destinations array Destinations
리턴 boolean

프로퍼티 상세

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

Table name
protected string $name
리턴 string