Свойство | Type | Description | |
---|---|---|---|
$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 |
Méthode | Description | |
---|---|---|
__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 ) |
public getAllDomains ( ) : array | ||
Résultat | array |
public getCustomLocale ( ) : boolean | ||
Résultat | boolean |
public getKeywordsList ( ) : mixed | ||
Résultat | mixed |
public getSourcesFromDomain ( $domain ) : array | ||
$domain | ||
Résultat | array |
public getSyncLaravel ( ) : mixed | ||
Résultat | mixed |
public setCategories ( array $categories ) : self | ||
$categories | array | |
Résultat | self |
public setCustomLocale ( $customLocale ) : self | ||
Résultat | self |
public setFallbackLocale ( string $fallbackLocale ) | ||
$fallbackLocale | string |
public setHandler ( $handler ) | ||
$handler |
public setKeywordsList ( mixed $keywordsList ) : self | ||
$keywordsList | mixed | the keywords list |
Résultat | self |
public setSessionIdentifier ( string $sessionIdentifier ) | ||
$sessionIdentifier | string |
public setSupportedLocales ( array $supportedLocales ) | ||
$supportedLocales | array |
public setTranslationsPath ( string $translationsPath ) | ||
$translationsPath | string |
protected string $adapter | ||
Résultat | string |
protected $customLocale |
protected string $encoding | ||
Résultat | string |
protected string $fallbackLocale | ||
Résultat | string |
protected string $sessionIdentifier | ||
Résultat | string |
protected array $supportedLocales | ||
Résultat | array |
protected string $translationsPath | ||
Résultat | string |
protected string $translator | ||
Résultat | string |