PHP Class Airship\Cabin\Bridge\Landing\Admin

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

Protected Properties

Свойство Type Description
$acct Airship\Cabin\Bridge\Blueprint\UserAccounts

Méthodes publiques

Méthode Description
airshipLand ( ) This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
index ( )
manageDatabase ( )
manageExtensions ( ) Landing page for the Administrative > Extensions section
manageNotaries ( ) Landing page for the Administrative > Extensions section
manageSettings ( )

Méthodes protégées

Méthode Description
addNotary ( array $channels, array $post ) : boolean Add a new notary
deleteNotary ( array $channels, array $post ) : boolean Add a new notary
loadJSONConfigFile ( string $name, string $ds = DIRECTORY_SEPARATOR ) : array Load a JSON configuration file
notaryDiscovery ( string $url ) : array Discover a new notary, grab its public key, channels, and URL
saveDatabase ( array $post = [], array $old = [] ) : boolean Write the updated JSON configuration file.
saveSettings ( array $post = [] ) : boolean Save universal settings

Method Details

addNotary() protected méthode

Add a new notary
protected addNotary ( array $channels, array $post ) : boolean
$channels array
$post array
Résultat boolean

airshipLand() public méthode

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

deleteNotary() protected méthode

Add a new notary
protected deleteNotary ( array $channels, array $post ) : boolean
$channels array
$post array
Résultat boolean

index() public méthode

public index ( )

loadJSONConfigFile() protected méthode

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

manageDatabase() public méthode

public manageDatabase ( )

manageExtensions() public méthode

Landing page for the Administrative > Extensions section
public manageExtensions ( )

manageNotaries() public méthode

Landing page for the Administrative > Extensions section
public manageNotaries ( )

manageSettings() public méthode

public manageSettings ( )

notaryDiscovery() protected méthode

Discover a new notary, grab its public key, channels, and URL
protected notaryDiscovery ( string $url ) : array
$url string
Résultat array

saveDatabase() protected méthode

Write the updated JSON configuration file.
protected saveDatabase ( array $post = [], array $old = [] ) : boolean
$post array
$old array
Résultat boolean

saveSettings() protected méthode

Save universal settings
protected saveSettings ( array $post = [] ) : boolean
$post array
Résultat boolean

Property Details

$acct protected_oe property

protected UserAccounts,Airship\Cabin\Bridge\Blueprint $acct
Résultat Airship\Cabin\Bridge\Blueprint\UserAccounts