PHP 클래스 Vsch\TranslationManager\Manager

파일 보기 프로젝트 열기: vsch/laravel-translation-manager 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$app Illuminate\Foundation\Application
$augmentedGroupList
$cache
$cacheIsDirty
$cacheTransKey
$config
$default_connection
$default_indatabase_publish
$default_translation_connection
$errors
$events Illuminate\Events\Dispatcher
$files Illuminate\Filesystem\Filesystem
$groupList
$imported
$indatabase_publish
$persistentPrefix
$preloadedGroup
$preloadedGroupKeys
$preloadedGroupLocales
$translation * @var $translation Translation
$usageCache
$usageCacheIsDirty
$usageCacheTransKey
$zipExporting ZipArchive

공개 메소드들

메소드 설명
__construct ( Illuminate\Foundation\Application $app, Illuminate\Filesystem\Filesystem $files, Illuminate\Events\Dispatcher $events, Translation $translation )
afterRoute ( $request, $response )
areUserLocalesEnabled ( ) : boolean
cache ( )
cacheEnabled ( )
cacheGroupTranslations ( $group, $locales, $translations )
cacheKey ( $key, $locale )
cachePrefix ( )
cacheTranslation ( $key, $value, $locale )
cacheUsageInfo ( $key, $value, $locale )
cachedTranslation ( $key, $locale )
cachedUsageInfo ( $key, $locale )
cleanTranslations ( )
clearCache ( $groups = null )
clearErrors ( )
clearUsageCache ( $clearDatabase, $groups = null )
computeFileLines ( $fileContents )
config ( $key = null, $default = null )
errors ( )
excludedPageEditGroup ( $group )
exportAllTranslations ( $recursing )
exportTranslations ( $group, $recursing )
findTranslations ( $path = null )
firstOrCreateTranslation ( $attributes = null )
firstOrNewTranslation ( $attributes = null )
fixGroup ( $group )
getConnection ( )
getConnectionInDatabasePublish ( $connection )
getConnectionInfo ( $connection, $key = null, $default = null )
getConnectionName ( )
getGroupAugmentedList ( )
getGroupList ( )
getTranslation ( ) : Translation
getTranslationsTableName ( )
getUserListConnection ( $connection )
getUserListProvider ( $connection )
getUserLocalesTableName ( )
importTranslations ( $replace, $groups = null )
inDatabasePublishing ( ) : boolean
isDefaultTranslationConnection ( $connection ) : boolean
makeDirPath ( $path )
missingKey ( $namespace, $group, $key, null $locale = null, boolean $useLottery = false, boolean $findOrNew = false ) : Translation | null
offsetLine ( $lines, $offset )
saveCache ( )
saveUsageCache ( )
setConnectionName ( $connection = null )
truncateTranslations ( $group = null )
usageCache ( )
usageCacheKey ( $key, $locale )
usageCachePrefix ( )
usingKey ( $namespace, $group, $key, null $locale = null, boolean $useLottery = false )
zipTranslations ( $groups )

보호된 메소드들

메소드 설명
dbValue ( $value, $nullValue = 'NULL' )
groupKeyList ( $key )
importTranslationFile ( $locale, $db_group, $translations, $replace )
makeTree ( $translations )

메소드 상세

__construct() 공개 메소드

public __construct ( Illuminate\Foundation\Application $app, Illuminate\Filesystem\Filesystem $files, Illuminate\Events\Dispatcher $events, Translation $translation )
$app Illuminate\Foundation\Application
$files Illuminate\Filesystem\Filesystem
$events Illuminate\Events\Dispatcher
$translation Vsch\TranslationManager\Models\Translation

afterRoute() 공개 메소드

public afterRoute ( $request, $response )

areUserLocalesEnabled() 공개 메소드

public areUserLocalesEnabled ( ) : boolean
리턴 boolean

cache() 공개 메소드

public cache ( )

cacheEnabled() 공개 메소드

public cacheEnabled ( )

cacheGroupTranslations() 공개 메소드

public cacheGroupTranslations ( $group, $locales, $translations )

cacheKey() 공개 메소드

public cacheKey ( $key, $locale )

cachePrefix() 공개 메소드

public cachePrefix ( )

cacheTranslation() 공개 메소드

public cacheTranslation ( $key, $value, $locale )

cacheUsageInfo() 공개 메소드

public cacheUsageInfo ( $key, $value, $locale )

cachedTranslation() 공개 메소드

public cachedTranslation ( $key, $locale )

cachedUsageInfo() 공개 메소드

public cachedUsageInfo ( $key, $locale )

cleanTranslations() 공개 메소드

public cleanTranslations ( )

clearCache() 공개 메소드

public clearCache ( $groups = null )

clearErrors() 공개 메소드

public clearErrors ( )

clearUsageCache() 공개 메소드

public clearUsageCache ( $clearDatabase, $groups = null )

computeFileLines() 공개 정적인 메소드

public static computeFileLines ( $fileContents )

config() 공개 메소드

public config ( $key = null, $default = null )

dbValue() 보호된 정적인 메소드

protected static dbValue ( $value, $nullValue = 'NULL' )

errors() 공개 메소드

public errors ( )

excludedPageEditGroup() 공개 메소드

public excludedPageEditGroup ( $group )

exportAllTranslations() 공개 메소드

public exportAllTranslations ( $recursing )

exportTranslations() 공개 메소드

public exportTranslations ( $group, $recursing )

findTranslations() 공개 메소드

public findTranslations ( $path = null )

firstOrCreateTranslation() 공개 메소드

public firstOrCreateTranslation ( $attributes = null )

firstOrNewTranslation() 공개 메소드

public firstOrNewTranslation ( $attributes = null )

fixGroup() 공개 정적인 메소드

public static fixGroup ( $group )

getConnection() 공개 메소드

public getConnection ( )

getConnectionInDatabasePublish() 공개 메소드

public getConnectionInDatabasePublish ( $connection )

getConnectionInfo() 공개 메소드

public getConnectionInfo ( $connection, $key = null, $default = null )

getConnectionName() 공개 메소드

public getConnectionName ( )

getGroupAugmentedList() 공개 메소드

getGroupList() 공개 메소드

public getGroupList ( )

getTranslation() 공개 메소드

public getTranslation ( ) : Translation
리턴 Vsch\TranslationManager\Models\Translation

getTranslationsTableName() 공개 메소드

getUserListConnection() 공개 메소드

public getUserListConnection ( $connection )

getUserListProvider() 공개 메소드

public getUserListProvider ( $connection )

getUserLocalesTableName() 공개 메소드

groupKeyList() 보호된 정적인 메소드

protected static groupKeyList ( $key )

importTranslationFile() 보호된 메소드

protected importTranslationFile ( $locale, $db_group, $translations, $replace )
$locale
$db_group
$translations
$replace

importTranslations() 공개 메소드

public importTranslations ( $replace, $groups = null )

inDatabasePublishing() 공개 메소드

public inDatabasePublishing ( ) : boolean
리턴 boolean

isDefaultTranslationConnection() 공개 메소드

public isDefaultTranslationConnection ( $connection ) : boolean
$connection
리턴 boolean

makeDirPath() 공개 메소드

public makeDirPath ( $path )

makeTree() 보호된 메소드

protected makeTree ( $translations )

missingKey() 공개 메소드

public missingKey ( $namespace, $group, $key, null $locale = null, boolean $useLottery = false, boolean $findOrNew = false ) : Translation | null
$namespace string
$group string
$key string
$locale null
$useLottery boolean
$findOrNew boolean
리턴 Vsch\TranslationManager\Models\Translation | null

offsetLine() 공개 정적인 메소드

public static offsetLine ( $lines, $offset )

saveCache() 공개 메소드

public saveCache ( )

saveUsageCache() 공개 메소드

public saveUsageCache ( )

setConnectionName() 공개 메소드

public setConnectionName ( $connection = null )

truncateTranslations() 공개 메소드

public truncateTranslations ( $group = null )

usageCache() 공개 메소드

public usageCache ( )

usageCacheKey() 공개 메소드

public usageCacheKey ( $key, $locale )

usageCachePrefix() 공개 메소드

public usageCachePrefix ( )

usingKey() 공개 메소드

public usingKey ( $namespace, $group, $key, null $locale = null, boolean $useLottery = false )
$namespace string
$group string
$key string
$locale null
$useLottery boolean

zipTranslations() 공개 메소드

public zipTranslations ( $groups )

프로퍼티 상세

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

protected Application,Illuminate\Foundation $app
리턴 Illuminate\Foundation\Application

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

protected $augmentedGroupList

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

protected $cache

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

protected $cacheIsDirty

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

protected $cacheTransKey

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

protected $config

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

protected $default_connection

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

protected $default_indatabase_publish

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

protected $default_translation_connection

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

protected $errors

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

protected Dispatcher,Illuminate\Events $events
리턴 Illuminate\Events\Dispatcher

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

protected Filesystem,Illuminate\Filesystem $files
리턴 Illuminate\Filesystem\Filesystem

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

protected $groupList

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

protected $imported

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

protected $indatabase_publish

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

protected $persistentPrefix

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

protected $preloadedGroup

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

protected $preloadedGroupKeys

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

protected $preloadedGroupLocales

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

* @var $translation Translation
protected $translation

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

protected $usageCache

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

protected $usageCacheIsDirty

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

protected $usageCacheTransKey

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

protected ZipArchive $zipExporting
리턴 ZipArchive