PHP Class Airship\Cabin\Bridge\Landing\Gadgets

Inheritance: extends LoggedInUsersOnly
Show file Open project: paragonie/airship

Public Methods

Method Description
airshipLand ( ) This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
index ( )
manageForCabin ( string $cabinName = '' )
manageUniversal ( )

Protected Methods

Method Description
updateCabinGadgets ( array $gadgets, array $post, string $cabin = '' ) : boolean Update the gadgets for a given Cabin
updateUniversalGadgets ( array $gadgets, array $post ) : boolean Update the universal gadgets

Method Details

airshipLand() public method

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

index() public method

public index ( )

manageForCabin() public method

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

manageUniversal() public method

public manageUniversal ( )

updateCabinGadgets() protected method

Update the gadgets for a given Cabin
protected updateCabinGadgets ( array $gadgets, array $post, string $cabin = '' ) : boolean
$gadgets array
$post array
$cabin string
return boolean

updateUniversalGadgets() protected method

Update the universal gadgets
protected updateUniversalGadgets ( array $gadgets, array $post ) : boolean
$gadgets array
$post array
return boolean