PHP Class Airship\Cabin\Bridge\Landing\Crew

Inheritance: extends AdminOnly, use trait Airship\Engine\Bolt\Get
Afficher le fichier Open project: paragonie/airship

Protected Properties

Свойство Type Description
$account Airship\Cabin\Bridge\Blueprint\UserAccounts

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

Méthodes protégées

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

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

createGroup() public méthode

Create a new group for users
public createGroup ( )

createUser() public méthode

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

deleteGroup() public méthode

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

deleteUser() public méthode

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

editGroup() public méthode

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

editUser() public méthode

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

getOffsetAndLimit() protected méthode

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

groups() public méthode

List the groups
public groups ( )

index() public méthode

List the main crew page
public index ( )

users() public méthode

List the users
public users ( )

Property Details

$account protected_oe property

protected UserAccounts,Airship\Cabin\Bridge\Blueprint $account
Résultat Airship\Cabin\Bridge\Blueprint\UserAccounts