PHP Класс Airship\Cabin\Bridge\Landing\Author

Manager personas.
Наследование: extends LoggedInUsersOnly, use trait Airship\Engine\Bolt\Orderable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
manageAuthorUsers ( integer $authorId, array $post ) : boolean Add/remove users, toggle ownership status.

Описание методов

airshipLand() публичный Метод

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

create() публичный Метод

Create a new author profile
public create ( )

delete() публичный Метод

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

edit() публичный Метод

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

index() публичный Метод

Index page for blog author profiles
public index ( )

manageAuthorUsers() защищенный Метод

Add/remove users, toggle ownership status.
protected manageAuthorUsers ( integer $authorId, array $post ) : boolean
$authorId integer
$post array
Результат boolean

photos() публичный Метод

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

users() публичный Метод

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