PHP 클래스 Xinax\LaravelGettext\Config\Models\Config

파일 보기 프로젝트 열기: xinax/laravel-gettext 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$adapter string The adapter class used to sync with laravel locale
$categories Locale categories
$customLocale Custom locale name Used when needed locales are unavalilable
$domain string Gettext domain
$encoding string Charset encoding for files
$fallbackLocale string Fallback locale
$handler Core translation handler
$keywordsList Poedit keywords list
$locale string Full ISO Locale (en_EN)
$project string Project identifier
$relativePath Default relative path
$sessionIdentifier string Session identifier
$sourcePaths array Source paths
$supportedLocales array Supported locales
$syncLaravel Sync with laravel locale
$translationsPath string Path to translation files
$translator string Translator contact data

공개 메소드들

메소드 설명
__construct ( )
getAdapter ( ) : string Gets the adapter class.
getAllDomains ( ) : array Return an array with all domain names
getCategories ( ) : array Gets categories
getCustomLocale ( ) : boolean Gets C locale setting.
getDomain ( ) : string
getEncoding ( ) : string
getFallbackLocale ( ) : string
getHandler ( ) : mixed Returns the handler name
getKeywordsList ( ) : mixed Gets the Poedit keywords list.
getLocale ( ) : string
getProject ( ) : string
getRelativePath ( )
getSessionIdentifier ( ) : string
getSourcePaths ( ) : array
getSourcesFromDomain ( $domain ) : array Return all routes for a single domain
getSupportedLocales ( ) : array
getSyncLaravel ( ) : mixed Gets the Sync with laravel locale.
getTranslationsPath ( ) : string
getTranslator ( ) : string
isSyncLaravel ( ) : boolean
setAdapter ( string $adapter )
setCategories ( array $categories ) : self Sets categories
setCustomLocale ( $customLocale ) : self Sets if will use C locale structure.
setDomain ( string $domain )
setEncoding ( string $encoding )
setFallbackLocale ( string $fallbackLocale )
setHandler ( $handler ) Sets the handler type. Also check for valid handler name
setKeywordsList ( mixed $keywordsList ) : self Sets the Poedit keywords list.
setLocale ( string $locale )
setProject ( string $project )
setRelativePath ( $path )
setSessionIdentifier ( string $sessionIdentifier )
setSourcePaths ( array $sourcePaths )
setSupportedLocales ( array $supportedLocales )
setSyncLaravel ( boolean $syncLaravel )
setTranslationsPath ( string $translationsPath )
setTranslator ( string $translator )

메소드 상세

__construct() 공개 메소드

public __construct ( )

getAdapter() 공개 메소드

Gets the adapter class.
public getAdapter ( ) : string
리턴 string

getAllDomains() 공개 메소드

Return an array with all domain names
public getAllDomains ( ) : array
리턴 array

getCategories() 공개 메소드

Gets categories
public getCategories ( ) : array
리턴 array

getCustomLocale() 공개 메소드

Gets C locale setting.
public getCustomLocale ( ) : boolean
리턴 boolean

getDomain() 공개 메소드

public getDomain ( ) : string
리턴 string

getEncoding() 공개 메소드

public getEncoding ( ) : string
리턴 string

getFallbackLocale() 공개 메소드

public getFallbackLocale ( ) : string
리턴 string

getHandler() 공개 메소드

Returns the handler name
public getHandler ( ) : mixed
리턴 mixed

getKeywordsList() 공개 메소드

Gets the Poedit keywords list.
public getKeywordsList ( ) : mixed
리턴 mixed

getLocale() 공개 메소드

public getLocale ( ) : string
리턴 string

getProject() 공개 메소드

public getProject ( ) : string
리턴 string

getRelativePath() 공개 메소드

public getRelativePath ( )

getSessionIdentifier() 공개 메소드

public getSessionIdentifier ( ) : string
리턴 string

getSourcePaths() 공개 메소드

public getSourcePaths ( ) : array
리턴 array

getSourcesFromDomain() 공개 메소드

Return all routes for a single domain
public getSourcesFromDomain ( $domain ) : array
$domain
리턴 array

getSupportedLocales() 공개 메소드

public getSupportedLocales ( ) : array
리턴 array

getSyncLaravel() 공개 메소드

Gets the Sync with laravel locale.
public getSyncLaravel ( ) : mixed
리턴 mixed

getTranslationsPath() 공개 메소드

public getTranslationsPath ( ) : string
리턴 string

getTranslator() 공개 메소드

public getTranslator ( ) : string
리턴 string

isSyncLaravel() 공개 메소드

public isSyncLaravel ( ) : boolean
리턴 boolean

setAdapter() 공개 메소드

public setAdapter ( string $adapter )
$adapter string

setCategories() 공개 메소드

Sets categories
public setCategories ( array $categories ) : self
$categories array
리턴 self

setCustomLocale() 공개 메소드

Sets if will use C locale structure.
public setCustomLocale ( $customLocale ) : self
리턴 self

setDomain() 공개 메소드

public setDomain ( string $domain )
$domain string

setEncoding() 공개 메소드

public setEncoding ( string $encoding )
$encoding string

setFallbackLocale() 공개 메소드

public setFallbackLocale ( string $fallbackLocale )
$fallbackLocale string

setHandler() 공개 메소드

Sets the handler type. Also check for valid handler name
public setHandler ( $handler )
$handler

setKeywordsList() 공개 메소드

Sets the Poedit keywords list.
public setKeywordsList ( mixed $keywordsList ) : self
$keywordsList mixed the keywords list
리턴 self

setLocale() 공개 메소드

public setLocale ( string $locale )
$locale string

setProject() 공개 메소드

public setProject ( string $project )
$project string

setRelativePath() 공개 메소드

public setRelativePath ( $path )

setSessionIdentifier() 공개 메소드

public setSessionIdentifier ( string $sessionIdentifier )
$sessionIdentifier string

setSourcePaths() 공개 메소드

public setSourcePaths ( array $sourcePaths )
$sourcePaths array

setSupportedLocales() 공개 메소드

public setSupportedLocales ( array $supportedLocales )
$supportedLocales array

setSyncLaravel() 공개 메소드

public setSyncLaravel ( boolean $syncLaravel )
$syncLaravel boolean

setTranslationsPath() 공개 메소드

public setTranslationsPath ( string $translationsPath )
$translationsPath string

setTranslator() 공개 메소드

public setTranslator ( string $translator )
$translator string

프로퍼티 상세

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

The adapter class used to sync with laravel locale
protected string $adapter
리턴 string

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

Locale categories
protected $categories

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

Custom locale name Used when needed locales are unavalilable
protected $customLocale

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

Gettext domain
protected string $domain
리턴 string

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

Charset encoding for files
protected string $encoding
리턴 string

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

Fallback locale
protected string $fallbackLocale
리턴 string

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

Core translation handler
protected $handler

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

Poedit keywords list
protected $keywordsList

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

Full ISO Locale (en_EN)
protected string $locale
리턴 string

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

Project identifier
protected string $project
리턴 string

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

Default relative path
protected $relativePath

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

Session identifier
protected string $sessionIdentifier
리턴 string

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

Source paths
protected array $sourcePaths
리턴 array

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

Supported locales
protected array $supportedLocales
리턴 array

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

Sync with laravel locale
protected $syncLaravel

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

Path to translation files
protected string $translationsPath
리턴 string

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

Translator contact data
protected string $translator
리턴 string