PHP 클래스 Flarum\Http\WebApp\AbstractWebApp

파일 보기 프로젝트 열기: flarum/core 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$assets WebAppAssetsFactory
$locales Flarum\Locale\LocaleManager
$settings Flarum\Settings\SettingsRepositoryInterface
$view WebAppViewFactory

공개 메소드들

메소드 설명
__construct ( WebAppAssetsFactory $assets, WebAppViewFactory $view, Flarum\Settings\SettingsRepositoryInterface $settings, LocaleManager $locales )
getAssets ( ) : WebAppAssets
getView ( ) : WebAppView

보호된 메소드들

메소드 설명
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 ( WebAppView $view )
addDefaultAssets ( WebAppView $view )
addTranslations ( WebAppView $view )
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.

메소드 상세

__construct() 공개 메소드

public __construct ( WebAppAssetsFactory $assets, WebAppViewFactory $view, Flarum\Settings\SettingsRepositoryInterface $settings, LocaleManager $locales )
$assets WebAppAssetsFactory
$view WebAppViewFactory
$settings Flarum\Settings\SettingsRepositoryInterface
$locales Flarum\Locale\LocaleManager

getAssets() 공개 메소드

public getAssets ( ) : WebAppAssets
리턴 WebAppAssets

getLayout() 보호된 메소드

Get the path to the client layout view.
protected getLayout ( ) : string
리턴 string

getName() 추상적인 보호된 메소드

Get the name of the client.
abstract protected getName ( ) : string
리턴 string

getTranslationFilter() 보호된 메소드

Get a regular expression to match against translation keys.
protected getTranslationFilter ( ) : string
리턴 string

getView() 공개 메소드

public getView ( ) : WebAppView
리턴 WebAppView

프로퍼티 상세

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

protected WebAppAssetsFactory,Flarum\Http\WebApp $assets
리턴 WebAppAssetsFactory

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

protected LocaleManager,Flarum\Locale $locales
리턴 Flarum\Locale\LocaleManager

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

protected SettingsRepositoryInterface,Flarum\Settings $settings
리턴 Flarum\Settings\SettingsRepositoryInterface

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

protected WebAppViewFactory,Flarum\Http\WebApp $view
리턴 WebAppViewFactory