PHP Class Airship\Cabin\Bridge\Landing\Author

Manager personas.
Inheritance: extends LoggedInUsersOnly, use trait Airship\Engine\Bolt\Orderable
Afficher le fichier Open project: paragonie/airship Class Usage Examples

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.
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

Méthodes protégées

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

Method Details

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

create() public méthode

Create a new author profile
public create ( )

delete() public méthode

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

edit() public méthode

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

index() public méthode

Index page for blog author profiles
public index ( )

manageAuthorUsers() protected méthode

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

photos() public méthode

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

users() public méthode

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