PHP Class Airship\Cabin\Bridge\Landing\Crew

Inheritance: extends AdminOnly, use trait Airship\Engine\Bolt\Get
ファイルを表示 Open project: paragonie/airship

Protected Properties

Property Type Description
$account Airship\Cabin\Bridge\Blueprint\UserAccounts

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.
createGroup ( ) Create a new group for users
createUser ( string $userId = '' ) Create a new user
deleteGroup ( string $groupId = '' )
deleteUser ( string $userId = '' )
editGroup ( string $groupId = '' ) Edit a group's information
editUser ( string $userId = '' ) Edit a user's information
groups ( ) List the groups
index ( ) List the main crew page
users ( ) List the users

Protected Methods

Method Description
getOffsetAndLimit ( string $page = null, integer $per_page = 50 ) : int[] Gets [offset, limit] based on configuration

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

createGroup() public method

Create a new group for users
public createGroup ( )

createUser() public method

Create a new user
public createUser ( string $userId = '' )
$userId string

deleteGroup() public method

public deleteGroup ( string $groupId = '' )
$groupId string

deleteUser() public method

public deleteUser ( string $userId = '' )
$userId string

editGroup() public method

Edit a group's information
public editGroup ( string $groupId = '' )
$groupId string

editUser() public method

Edit a user's information
public editUser ( string $userId = '' )
$userId string

getOffsetAndLimit() protected method

Gets [offset, limit] based on configuration
protected getOffsetAndLimit ( string $page = null, integer $per_page = 50 ) : int[]
$page string
$per_page integer
return int[]

groups() public method

List the groups
public groups ( )

index() public method

List the main crew page
public index ( )

users() public method

List the users
public users ( )

Property Details

$account protected_oe property

protected UserAccounts,Airship\Cabin\Bridge\Blueprint $account
return Airship\Cabin\Bridge\Blueprint\UserAccounts