PHP 클래스 Airship\Cabin\Bridge\Landing\Cabins

상속: extends LoggedInUsersOnly
파일 보기 프로젝트 열기: paragonie/airship

공개 메소드들

메소드 설명
cabinMenu ( string $cabinName = '' )
index ( )
manage ( string $cabinName = '' ) Update Cabin configuration

보호된 메소드들

메소드 설명
ensureCabinLinkExists ( string $cabin ) : boolean Ensure that a cabin link exists
getCabinsMotifs ( string $cabin ) : array Get all of the motifs that belong to a particular cabin
loadJSONConfigFile ( string $cabin, string $name, string $ds = DIRECTORY_SEPARATOR ) : array Load a JSON configuration file
saveSettings ( string $cabinName, array $cabins = [], array $post = [] ) : boolean Attempt to save the user-provided cabin configuration
setTemplateExtraData ( string $cabin ) Set the cabin links

메소드 상세

cabinMenu() 공개 메소드

public cabinMenu ( string $cabinName = '' )
$cabinName string

ensureCabinLinkExists() 보호된 메소드

Ensure that a cabin link exists
protected ensureCabinLinkExists ( string $cabin ) : boolean
$cabin string
리턴 boolean

getCabinsMotifs() 보호된 메소드

Get all of the motifs that belong to a particular cabin
protected getCabinsMotifs ( string $cabin ) : array
$cabin string
리턴 array

index() 공개 메소드

public index ( )

loadJSONConfigFile() 보호된 메소드

Load a JSON configuration file
protected loadJSONConfigFile ( string $cabin, string $name, string $ds = DIRECTORY_SEPARATOR ) : array
$cabin string
$name string
$ds string
리턴 array

manage() 공개 메소드

Update Cabin configuration
public manage ( string $cabinName = '' )
$cabinName string

saveSettings() 보호된 메소드

Attempt to save the user-provided cabin configuration
protected saveSettings ( string $cabinName, array $cabins = [], array $post = [] ) : boolean
$cabinName string
$cabins array
$post array
리턴 boolean

setTemplateExtraData() 보호된 메소드

Set the cabin links
protected setTemplateExtraData ( string $cabin )
$cabin string