PHP 클래스 Themosis, framework

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

공개 프로퍼티들

프로퍼티 타입 설명
$container Themosis\Foundation\Application The service container.

보호된 프로퍼티들

프로퍼티 타입 설명
$instance Themosis Themosis instance.

공개 메소드들

메소드 설명
adminEnqueueScripts ( ) Enqueue Admin scripts.
adminHead ( ) Output a global JS object in the tag for the admin.
instance ( ) : Themosis Retrieve Themosis class instance.
setRouter ( ) Hook into front-end routing.

보호된 메소드들

메소드 설명
autoload ( ) Check for the composer autoload file.
bootstrap ( ) Bootstrap the core plugin.
registerProviders ( ) Register core framework service providers.
setup ( ) Setup core framework parameters.

비공개 메소드들

메소드 설명
__construct ( )

메소드 상세

adminEnqueueScripts() 공개 메소드

Enqueue Admin scripts.
public adminEnqueueScripts ( )

adminHead() 공개 메소드

Allow developers to add JS data for their project in the admin area only.
public adminHead ( )

autoload() 보호된 메소드

Check for the composer autoload file.
protected autoload ( )

bootstrap() 보호된 메소드

Bootstrap the core plugin.
protected bootstrap ( )

instance() 공개 정적인 메소드

Retrieve Themosis class instance.
public static instance ( ) : Themosis
리턴 Themosis

registerProviders() 보호된 메소드

Register core framework service providers.
protected registerProviders ( )

setRouter() 공개 메소드

Setup the router API to be executed before theme default templates.
public setRouter ( )

setup() 보호된 메소드

At this moment, all activated plugins have been loaded. Each plugin has its service providers registered.
protected setup ( )

프로퍼티 상세

$container 공개적으로 프로퍼티

The service container.
public Application,Themosis\Foundation $container
리턴 Themosis\Foundation\Application

$instance 보호되어 있는 정적으로 프로퍼티

Themosis instance.
protected static Themosis $instance
리턴 Themosis