PHP Class Airship\Cabin\Bridge\Landing\Cabins

Inheritance: extends LoggedInUsersOnly
Afficher le fichier Open project: paragonie/airship

Méthodes publiques

Méthode Description
cabinMenu ( string $cabinName = '' )
index ( )
manage ( string $cabinName = '' ) Update Cabin configuration

Méthodes protégées

Méthode Description
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

Method Details

cabinMenu() public méthode

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

ensureCabinLinkExists() protected méthode

Ensure that a cabin link exists
protected ensureCabinLinkExists ( string $cabin ) : boolean
$cabin string
Résultat boolean

getCabinsMotifs() protected méthode

Get all of the motifs that belong to a particular cabin
protected getCabinsMotifs ( string $cabin ) : array
$cabin string
Résultat array

index() public méthode

public index ( )

loadJSONConfigFile() protected méthode

Load a JSON configuration file
protected loadJSONConfigFile ( string $cabin, string $name, string $ds = DIRECTORY_SEPARATOR ) : array
$cabin string
$name string
$ds string
Résultat array

manage() public méthode

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

saveSettings() protected méthode

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

setTemplateExtraData() protected méthode

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