PHP Class Airship\Cabin\Bridge\Landing\Redirects

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

Protected Properties

Property Type Description
$pg Airship\Cabin\Bridge\Blueprint\CustomPages

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.
deleteRedirect ( string $cabin, string $redirectId ) Delete an existing redirect
editRedirect ( string $cabin, string $redirectId ) Edit a redirect.
forCabin ( string $cabin = '' ) List all of the redirects for a given cabin
index ( ) Serve a submenu of available cabins
newRedirect ( string $cabin ) Create a new redirect

Protected Methods

Method Description
setTemplateExtraData ( string $cabin ) Set the cabin links

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 ( )

deleteRedirect() public method

Delete an existing redirect
public deleteRedirect ( string $cabin, string $redirectId )
$cabin string
$redirectId string

editRedirect() public method

Edit a redirect.
public editRedirect ( string $cabin, string $redirectId )
$cabin string
$redirectId string

forCabin() public method

List all of the redirects for a given cabin
public forCabin ( string $cabin = '' )
$cabin string

index() public method

Serve a submenu of available cabins
public index ( )

newRedirect() public method

Create a new redirect
public newRedirect ( string $cabin )
$cabin string

setTemplateExtraData() protected method

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

Property Details

$pg protected property

protected CustomPages,Airship\Cabin\Bridge\Blueprint $pg
return Airship\Cabin\Bridge\Blueprint\CustomPages