PHP Class Airship\Cabin\Bridge\Landing\AuthorFiles

Inheritance: extends Airship\Cabin\Bridge\Landing\Proto\FileManager
Show file Open project: paragonie/airship

Protected Properties

Property Type Description
$author Airship\Cabin\Bridge\Blueprint\Author
$authorId integer
$authorName string
$authorSlug string

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.
confirmDeleteFile ( string $authorId, string $cabin = '' )
getFileInfo ( string $authorId, string $cabin = '' )
index ( string $authorId, string $cabin = '' )
moveFile ( string $authorId, string $cabin = '' )
selectCabin ( string $authorId = '' )

Protected Methods

Method Description
loadAuthorInfo ( integer $authorId ) Loads all the necessary information for this author
permCheck ( ) : boolean Permissions check

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

confirmDeleteFile() public method

public confirmDeleteFile ( string $authorId, string $cabin = '' )
$authorId string
$cabin string

getFileInfo() public method

public getFileInfo ( string $authorId, string $cabin = '' )
$authorId string
$cabin string

index() public method

public index ( string $authorId, string $cabin = '' )
$authorId string
$cabin string

loadAuthorInfo() protected method

Loads all the necessary information for this author
protected loadAuthorInfo ( integer $authorId )
$authorId integer

moveFile() public method

public moveFile ( string $authorId, string $cabin = '' )
$authorId string
$cabin string

permCheck() protected method

Permissions check
protected permCheck ( ) : boolean
return boolean

selectCabin() public method

public selectCabin ( string $authorId = '' )
$authorId string

Property Details

$author protected property

protected Author,Airship\Cabin\Bridge\Blueprint $author
return Airship\Cabin\Bridge\Blueprint\Author

$authorId protected property

protected int $authorId
return integer

$authorName protected property

protected string $authorName
return string

$authorSlug protected property

protected string $authorSlug
return string