PHP 클래스 Airship\Cabin\Hull\Landing\CustomPages

Custom page handler.
상속: extends LandingGear
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$cabin string
$pages Airship\Cabin\Hull\Blueprint\CustomPages

공개 메소드들

메소드 설명
airshipLand ( ) This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
routeNotFound ( $args ) : void This interrupts requests if all else fails.

보호된 메소드들

메소드 설명
render ( array $latest ) : string Render a custom page
serveCustomPage ( string $file, array $dirs = [] ) : boolean Public API entry point for serving a custom page
serveFile ( string $file, integer $directoryId ) : boolean Serve a file
serveLatestVersion ( array $page ) : boolean Server the latest version of a custom page.

메소드 상세

airshipLand() 공개 메소드

This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
public airshipLand ( )

render() 보호된 메소드

Render a custom page
protected render ( array $latest ) : string
$latest array
리턴 string

routeNotFound() 공개 메소드

This interrupts requests if all else fails.
public routeNotFound ( $args ) : void
$args
리턴 void

serveCustomPage() 보호된 메소드

Public API entry point for serving a custom page
protected serveCustomPage ( string $file, array $dirs = [] ) : boolean
$file string
$dirs array
리턴 boolean

serveFile() 보호된 메소드

Serve a file
protected serveFile ( string $file, integer $directoryId ) : boolean
$file string
$directoryId integer
리턴 boolean

serveLatestVersion() 보호된 메소드

Server the latest version of a custom page.
protected serveLatestVersion ( array $page ) : boolean
$page array
리턴 boolean

프로퍼티 상세

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

protected string $cabin
리턴 string

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

protected CustomPages,Airship\Cabin\Hull\Blueprint $pages
리턴 Airship\Cabin\Hull\Blueprint\CustomPages