PHP Class Airship\Cabin\Bridge\Landing\Author

Manager personas.
Inheritance: extends LoggedInUsersOnly, use trait Airship\Engine\Bolt\Orderable
显示文件 Open project: paragonie/airship Class Usage Examples

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.
create ( ) Create a new author profile
delete ( string $authorId = '' ) Create a new author profile
edit ( string $authorId = '' ) Update an existing author's profile
index ( ) Index page for blog author profiles
photos ( string $authorId = '' ) Manage your author profile's photos
users ( string $authorId = '' ) Manage the users that have access to this author

Protected Methods

Method Description
manageAuthorUsers ( integer $authorId, array $post ) : boolean Add/remove users, toggle ownership status.

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

create() public method

Create a new author profile
public create ( )

delete() public method

Create a new author profile
public delete ( string $authorId = '' )
$authorId string

edit() public method

Update an existing author's profile
public edit ( string $authorId = '' )
$authorId string

index() public method

Index page for blog author profiles
public index ( )

manageAuthorUsers() protected method

Add/remove users, toggle ownership status.
protected manageAuthorUsers ( integer $authorId, array $post ) : boolean
$authorId integer
$post array
return boolean

photos() public method

Manage your author profile's photos
public photos ( string $authorId = '' )
$authorId string

users() public method

Manage the users that have access to this author
public users ( string $authorId = '' )
$authorId string