PHP Class Kdyby\Translation\DI\TranslationExtension

Author: Filip Procházka ([email protected])
Inheritance: extends Nette\DI\CompilerExtension
Afficher le fichier Open project: kdyby/translation Class Usage Examples

Méthodes publiques

Свойство Type Description
$defaults array

Méthodes publiques

Méthode Description
__construct ( )
afterCompile ( ClassType $class )
beforeCompile ( )
filterArgs ( string | stdClass $statement ) : Statement[]
getConfig ( array $defaults = NULL, $expand = TRUE )
loadConfiguration ( )
register ( Configurator $configurator )

Méthodes protégées

Méthode Description
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 )

Private Methods

Méthode Description
isOfType ( string $class, string $type ) : boolean
isRegisteredConsoleExtension ( )

Method Details

__construct() public méthode

public __construct ( )

afterCompile() public méthode

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

beforeCompile() public méthode

public beforeCompile ( )

beforeCompileLogging() protected méthode

protected beforeCompileLogging ( array $config )
$config array

filterArgs() public static méthode

public static filterArgs ( string | stdClass $statement ) : Statement[]
$statement string | stdClass
Résultat Nette\DI\Statement[]

getConfig() public méthode

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

loadConfiguration() public méthode

public loadConfiguration ( )

loadConsole() protected méthode

protected loadConsole ( array $config )
$config array

loadDumpers() protected méthode

protected loadDumpers ( )

loadExtractors() protected méthode

protected loadExtractors ( )

loadLoaders() protected méthode

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

loadLocaleResolver() protected méthode

protected loadLocaleResolver ( array $config )
$config array

loadResourcesFromDirs() protected méthode

protected loadResourcesFromDirs ( $dirs )

register() public static méthode

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

validateResource() protected méthode

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

Property Details

$defaults public_oe property

public array $defaults
Résultat array