PHP 클래스 Kdyby\Translation\DI\TranslationExtension

저자: Filip Procházka ([email protected])
상속: extends Nette\DI\CompilerExtension
파일 보기 프로젝트 열기: kdyby/translation 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$defaults array

공개 메소드들

메소드 설명
__construct ( )
afterCompile ( ClassType $class )
beforeCompile ( )
filterArgs ( string | stdClass $statement ) : Statement[]
getConfig ( array $defaults = NULL, $expand = TRUE )
loadConfiguration ( )
register ( Configurator $configurator )

보호된 메소드들

메소드 설명
beforeCompileLogging ( array $config )
loadConsole ( array $config )
loadDumpers ( )
loadExtractors ( )
loadLoaders ( array $loaders, array $allowed )
loadLocaleResolver ( array $config )
loadResourcesFromDirs ( $dirs )
validateResource ( string $format, string $file, string $locale, string $domain )

비공개 메소드들

메소드 설명
isOfType ( string $class, string $type ) : boolean
isRegisteredConsoleExtension ( )

메소드 상세

__construct() 공개 메소드

public __construct ( )

afterCompile() 공개 메소드

public afterCompile ( ClassType $class )
$class Nette\PhpGenerator\ClassType

beforeCompile() 공개 메소드

public beforeCompile ( )

beforeCompileLogging() 보호된 메소드

protected beforeCompileLogging ( array $config )
$config array

filterArgs() 공개 정적인 메소드

public static filterArgs ( string | stdClass $statement ) : Statement[]
$statement string | stdClass
리턴 Nette\DI\Statement[]

getConfig() 공개 메소드

public getConfig ( array $defaults = NULL, $expand = TRUE )
$defaults array

loadConfiguration() 공개 메소드

public loadConfiguration ( )

loadConsole() 보호된 메소드

protected loadConsole ( array $config )
$config array

loadDumpers() 보호된 메소드

protected loadDumpers ( )

loadExtractors() 보호된 메소드

protected loadExtractors ( )

loadLoaders() 보호된 메소드

protected loadLoaders ( array $loaders, array $allowed )
$loaders array
$allowed array

loadLocaleResolver() 보호된 메소드

protected loadLocaleResolver ( array $config )
$config array

loadResourcesFromDirs() 보호된 메소드

protected loadResourcesFromDirs ( $dirs )

register() 공개 정적인 메소드

public static register ( Configurator $configurator )
$configurator Nette\Configurator

validateResource() 보호된 메소드

protected validateResource ( string $format, string $file, string $locale, string $domain )
$format string
$file string
$locale string
$domain string

프로퍼티 상세

$defaults 공개적으로 프로퍼티

public array $defaults
리턴 array