프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$assets | |||
$locales | |||
$settings | Flarum\Settings\SettingsRepositoryInterface | ||
$view |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
getAssets ( ) : |
||
getView ( ) : |
메소드 | 설명 | |
---|---|---|
getLayout ( ) : string | Get the path to the client layout view. | |
getName ( ) : string | Get the name of the client. | |
getTranslationFilter ( ) : string | Get a regular expression to match against translation keys. |
메소드 | 설명 | |
---|---|---|
addCustomLess ( |
||
addDefaultAssets ( |
||
addTranslations ( |
||
filterTranslations ( array $translations ) : array | Take a selection of keys from a collection of translations. | |
getLessVariables ( ) : array | Get the values of any LESS variables to compile into the CSS, based on the forum's configuration. |
public __construct ( |
||
$assets | ||
$view | ||
$settings | Flarum\Settings\SettingsRepositoryInterface | |
$locales |
protected getTranslationFilter ( ) : string | ||
리턴 | string |
protected WebAppAssetsFactory,Flarum\Http\WebApp $assets | ||
리턴 |
protected SettingsRepositoryInterface,Flarum\Settings $settings | ||
리턴 | Flarum\Settings\SettingsRepositoryInterface |