PHP 클래스 Airship\Cabin\Bridge\Landing\Author

Manager personas.
상속: extends LoggedInUsersOnly, use trait Airship\Engine\Bolt\Orderable
파일 보기 프로젝트 열기: paragonie/airship 1 사용 예제들

공개 메소드들

메소드 설명
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